Store server pid in file, location can be changed by. First try, needs some cleanup work. Might require additional link options on Linux (new dependency: boost::program_options).
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ int main( int argc, char **argv )
|
||||
QApplication a( argc, argv );
|
||||
|
||||
//create defaultconfig
|
||||
ConfigFile *myConfig = new ConfigFile(argc, argv);
|
||||
ConfigFile *myConfig = new ConfigFile(argv[0], false);
|
||||
|
||||
// set PlastiqueStyle even for mac-version to prevent artefacts on styled widgets
|
||||
a.setStyle(new QPlastiqueStyle);
|
||||
|
||||
Reference in New Issue
Block a user