summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-18 10:15:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-18 10:15:29 +0200
commit181770b1e169b9c7c75eacdc969102cce18a8be7 (patch)
tree9f7a990c37dd48f803c9005da13cd86d3f8534cd /gui
parentc3a1174b922040da29b9c979343aa9fba24b46ba (diff)
some: adjust install paths and invocations
Diffstat (limited to 'gui')
-rw-r--r--gui/ui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ui.cpp b/gui/ui.cpp
index 35c7dd26..97eee716 100644
--- a/gui/ui.cpp
+++ b/gui/ui.cpp
@@ -22,7 +22,7 @@
#endif
MainWindow::MainWindow() :
- State(QCoreApplication::applicationDirPath() + OPENTRACK_LIBRARY_PATH),
+ State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH),
pose_update_timer(this),
kbd_quit(QKeySequence("Ctrl+Q"), this),
is_refreshing_profiles(false)
@@ -177,7 +177,7 @@ MainWindow::~MainWindow()
void MainWindow::set_working_directory()
{
- QDir::setCurrent(QCoreApplication::applicationDirPath());
+ QDir::setCurrent(OPENTRACK_BASE_PATH);
}
void MainWindow::save_modules()