File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ project(EGIAmpServer
99 DESCRIPTION "EGI AmpServer to LSL bridge"
1010 HOMEPAGE_URL "https://github.com/labstreaminglayer/App-EGIAmpServer/"
1111 LANGUAGES CXX
12- VERSION 2.0.0 )
12+ VERSION 2.0.2 )
1313
1414set (CMAKE_CXX_STANDARD 20)
1515set (CMAKE_CXX_STANDARD_REQUIRED ON )
Original file line number Diff line number Diff line change 11#include < QApplication>
2+ #include < QDir>
23#include " EGIAmpWindow.h"
34
45int main (int argc, char * argv[]) {
56 QApplication app (argc, argv);
6- EGIAmpWindow window (nullptr , argc > 1 ? argv[1 ] : " ampserver_config.cfg" );
7+ std::string configPath = argc > 1
8+ ? argv[1 ]
9+ : QDir (QCoreApplication::applicationDirPath ())
10+ .filePath (" ampserver_config.cfg" ).toStdString ();
11+ EGIAmpWindow window (nullptr , configPath);
712 window.show ();
813 return app.exec ();
914}
You can’t perform that action at this time.
0 commit comments