From 7e3d21cb6a9e8142b7132fe8fdae7a844b505006 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 1 Jun 2013 11:33:56 +0200 Subject: 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? --- smdirmodel.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'smdirmodel.cpp') 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,int)), this, SLOT(dirEvent(QList,int)), Qt::BlockingQueuedConnection); } -SmDirModel::~SmDirModel(){ - delete mWatch; - delete mRunTimer; -} - QVariant SmDirModel::data(const QModelIndex &index, int role) const{ if(!index.isValid()){ return QVariant(); -- cgit v1.2.3-70-g09d2