diff options
author | Arno <am@disconnect.de> | 2013-06-01 11:33:56 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-06-01 11:33:56 +0200 |
commit | 7e3d21cb6a9e8142b7132fe8fdae7a844b505006 (patch) | |
tree | 7e6d0329a7c35ffa0b4f43893c163463cb5f65e0 /smdirmodel.cpp | |
parent | 376d2fbb78114e746618f14afe7728cf9793630b (diff) | |
download | SheMov-7e3d21cb6a9e8142b7132fe8fdae7a844b505006.tar.gz SheMov-7e3d21cb6a9e8142b7132fe8fdae7a844b505006.tar.bz2 SheMov-7e3d21cb6a9e8142b7132fe8fdae7a844b505006.zip |
Don't clean up after ourselves
Don't delete threads and stuff in destructors. It leads to SIGARBRT when
debugging. Now we get a warning on close, but who cares?
Diffstat (limited to 'smdirmodel.cpp')
-rw-r--r-- | smdirmodel.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/smdirmodel.cpp b/smdirmodel.cpp index 1a631ba..1d90573 100644 --- a/smdirmodel.cpp +++ b/smdirmodel.cpp @@ -30,11 +30,6 @@ SmDirModel::SmDirModel(const QStringList &headers, QObject *parent) : SmTreeMode connect(mCollector, SIGNAL(newData(QList<QVariant>,int)), this, SLOT(dirEvent(QList<QVariant>,int)), Qt::BlockingQueuedConnection); } -SmDirModel::~SmDirModel(){ - delete mWatch; - delete mRunTimer; -} - QVariant SmDirModel::data(const QModelIndex &index, int role) const{ if(!index.isValid()){ return QVariant(); |