diff options
author | Ken Moore <ken@ixsystems.com> | 2019-04-27 09:02:04 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2019-04-27 09:02:04 -0400 |
commit | 205749956e0a4ed4a839315eede741b37616118b (patch) | |
tree | 31b4763ed27bffe3b8f2040de0667c0b62fdcebb | |
parent | Remove the compositing with gpu accel only option. Not used in the backend an... (diff) | |
download | lumina-205749956e0a4ed4a839315eede741b37616118b.tar.gz lumina-205749956e0a4ed4a839315eede741b37616118b.tar.bz2 lumina-205749956e0a4ed4a839315eede741b37616118b.zip |
Ensure that the browser path is always canonical.
Also ensure that glib is not used for Qt.
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/Browser.cpp | 4 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/main.cpp | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/Browser.cpp b/src-qt5/desktop-utils/lumina-fm/Browser.cpp index 02f1fc89..26d95faa 100644 --- a/src-qt5/desktop-utils/lumina-fm/Browser.cpp +++ b/src-qt5/desktop-utils/lumina-fm/Browser.cpp @@ -178,7 +178,9 @@ void Browser::loadDirectory(QString dir, bool force){ if(dir.isEmpty()){ return; } //nothing to do - nothing previously loaded updateList.clear(); //qDebug() << "Load Directory" << dir; - if(dir.endsWith("/")){ dir.chop(1); } + //Ensure we have the canonical path for this dir + dir = QDir(dir).canonicalPath(); + //if(dir.endsWith("/")){ dir.chop(1); } bool dirupdate = true; if(currentDir != dir){ //let the main widget know to clear all current items (completely different dir) //qDebug() << " - different Directory"; diff --git a/src-qt5/desktop-utils/lumina-fm/main.cpp b/src-qt5/desktop-utils/lumina-fm/main.cpp index 3b8fdcd0..c40364ea 100644 --- a/src-qt5/desktop-utils/lumina-fm/main.cpp +++ b/src-qt5/desktop-utils/lumina-fm/main.cpp @@ -14,6 +14,7 @@ int main(int argc, char ** argv) { + qputenv("QT_NO_GLIB","1"); LTHEME::LoadCustomEnvSettings(); qsrand(QDateTime::currentMSecsSinceEpoch()); LSingleApplication a(argc, argv, "lumina-fm"); //loads translations inside constructor |