aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/MainUI.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2016-09-27 16:14:37 +0000
committerWeblate <noreply@weblate.org>2016-09-27 16:14:37 +0000
commitc80736d2c8b43be05b67416438e99017a5ced3dc (patch)
treefb1974512932ede4c9a2e138cf603a50d6d112b9 /src-qt5/desktop-utils/lumina-fm/MainUI.cpp
parentTranslated using Weblate (l_TERMINAL@it (generated)) (diff)
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-c80736d2c8b43be05b67416438e99017a5ced3dc.tar.gz
lumina-c80736d2c8b43be05b67416438e99017a5ced3dc.tar.bz2
lumina-c80736d2c8b43be05b67416438e99017a5ced3dc.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/MainUI.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/MainUI.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/MainUI.cpp b/src-qt5/desktop-utils/lumina-fm/MainUI.cpp
index abe14c0d..59b671b5 100644
--- a/src-qt5/desktop-utils/lumina-fm/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-fm/MainUI.cpp
@@ -59,11 +59,11 @@ QSize orig = settings->value("preferences/MainWindowSize", QSize()).toSize();
connect(worker, SIGNAL(DirDataAvailable(QString, QString, LFileInfoList)), this, SLOT(DirDataAvailable(QString, QString, LFileInfoList)) );
connect(worker, SIGNAL(SnapshotDataAvailable(QString, QString, QStringList)), this, SLOT(SnapshotDataAvailable(QString, QString, QStringList)) );
worker->moveToThread(workThread);
- if(DEBUG){ qDebug() << " - File System Model"; }
- fsmod = new QFileSystemModel(this);
- fsmod->setRootPath(QDir::homePath());
- dirCompleter = new QCompleter(fsmod, this);
- dirCompleter->setModelSorting( QCompleter::CaseInsensitivelySortedModel );
+ //if(DEBUG){ qDebug() << " - File System Model"; }
+ //fsmod = new QFileSystemModel(this);
+ //fsmod->setRootPath(QDir::homePath());
+ //dirCompleter = new QCompleter(fsmod, this);
+ //dirCompleter->setModelSorting( QCompleter::CaseInsensitivelySortedModel );
if(DEBUG){ qDebug() << " - Context Menu"; }
contextMenu = new QMenu(this);
radio_view_details = new QRadioButton(tr("Detailed List"), this);
@@ -187,7 +187,7 @@ void MainUI::OpenDirs(QStringList dirs){
DW->setDetails(details); //Which details to show and in which order (L->R)
DW->setShowThumbnails(ui->actionShow_Thumbnails->isChecked());
DW->setThumbnailSize(settings->value("iconsize", 32).toInt());
- DW->setDirCompleter(dirCompleter);
+ //DW->setDirCompleter(dirCompleter);
DW->setShowCloseButton(!radio_view_tabs->isChecked());
//Now load the directory
DW->ChangeDir(dirs[i]); //kick off loading the directory info
bgstack15