summaryrefslogtreecommitdiffstats
path: root/smdirwatcher.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2015-06-06 14:16:32 +0200
committerArno <arno@disconnect.de>2015-06-06 14:16:32 +0200
commit7ffee99071517f5f5533f067850e732efe171991 (patch)
tree56df5d31247e7dc88c531678540cbf3d91df7cc4 /smdirwatcher.cpp
parent230feb71ce37cd6797e94247fab463841c7637cf (diff)
downloadSheMov-7ffee99071517f5f5533f067850e732efe171991.tar.gz
SheMov-7ffee99071517f5f5533f067850e732efe171991.tar.bz2
SheMov-7ffee99071517f5f5533f067850e732efe171991.zip
Get rid of Helper::centerDialog
It's useless if you don't use a tiling window manager. Also, now we have an empty class SmDialog. Didn't replace it yet. Maybe it's useful in the future.
Diffstat (limited to 'smdirwatcher.cpp')
-rw-r--r--smdirwatcher.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/smdirwatcher.cpp b/smdirwatcher.cpp
index c5914ad..8c0f04a 100644
--- a/smdirwatcher.cpp
+++ b/smdirwatcher.cpp
@@ -38,8 +38,6 @@ void SmDirWatcher::setDir(const QString &dir, bool progress){
QWidget *fsWidget = SmGlobals::instance()->registeredWidgets().value("FSWidget");
QProgressDialog *pDlg = new QProgressDialog(tr("Gathering data..."), QString(), 0, d.count(), fsWidget);
if(progress){
- pDlg->setWindowModality(Qt::WindowModal);
- Helper::centerWidget(pDlg);
pDlg->show();
}
SmTreeItem *rootItem = new SmTreeItem(mNumFields);