From 181770b1e169b9c7c75eacdc969102cce18a8be7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 18 Jul 2016 10:15:29 +0200 Subject: some: adjust install paths and invocations --- gui/ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui') 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() -- cgit v1.2.3