summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-08 13:54:50 +0100
committerJonathan Bauer2011-03-08 13:54:50 +0100
commit0f3d4931cf763d507d8df7f1fa60ad023d883a33 (patch)
treec9dbce7a79b1186b8bd034165fd8345aeb179eb9 /src/fbgui.cpp
parentsysInfoTest.html as reference on how to call the function properly (diff)
downloadfbgui-0f3d4931cf763d507d8df7f1fa60ad023d883a33.tar.gz
fbgui-0f3d4931cf763d507d8df7f1fa60ad023d883a33.tar.xz
fbgui-0f3d4931cf763d507d8df7f1fa60ad023d883a33.zip
binPath init fix
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index 8be9385..d764882 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -8,8 +8,8 @@
#include <QtWebKit>
#include <QApplication>
-// Note: Absolute paths.
-QString binPath(QApplication::applicationDirPath());
+// Note: Absolute paths. binPath empty init, set in main() after QApplication instanciated.
+QString binPath("");
QString downloadPath(binPath + "/downloads");
QUrl baseURL(DEFAULT_URL);
bool debug = false;