From e4cb9703cc6810dbe07070b485ea866f00ba9252 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 8 Jul 2016 10:06:49 +0200 Subject: gui, api, proto/wine: get rid of library path as exported symbol There's no need to do that. It never changes unless the toolchain changes. --- gui/ui.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gui/ui.cpp') diff --git a/gui/ui.cpp b/gui/ui.cpp index dc608a7c..37b9b748 100644 --- a/gui/ui.cpp +++ b/gui/ui.cpp @@ -9,10 +9,11 @@ #include "ui.h" #include "opentrack-logic/tracker.h" #include "opentrack-compat/options.hpp" -#include "library-path.hpp" +#include "opentrack-library-path.h" #include "new_file_dialog.h" #include #include +#include #ifndef _WIN32 # include @@ -21,7 +22,7 @@ #endif MainWindow::MainWindow() : - State(opentrack_library_path), + State(QCoreApplication::applicationDirPath() + OPENTRACK_LIBRARY_PATH), pose_update_timer(this), kbd_quit(QKeySequence("Ctrl+Q"), this), is_refreshing_profiles(false) -- cgit v1.2.3