diff options
Diffstat (limited to 'smdirmodel.cpp')
-rw-r--r-- | smdirmodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/smdirmodel.cpp b/smdirmodel.cpp index 8a403d1..2b1e7dc 100644 --- a/smdirmodel.cpp +++ b/smdirmodel.cpp @@ -38,6 +38,7 @@ SmDirModel::~SmDirModel(){ if(mWatch->isRunning()){ mWatch->stop(); } + mWatch->deleteLater(); } QVariant SmDirModel::data(const QModelIndex &index, int role) const{ |