This commit is contained in:
doitux
2007-04-20 08:18:18 +00:00
parent ce40d23fb5
commit 5437f91315
8 changed files with 299 additions and 14 deletions
+4 -8
View File
@@ -39,7 +39,8 @@
#include "log.h"
#include "configfile.h"
#include "defaultconfig.h"
#include "appdirpath.h"
#include <net/socket_msg.h>
@@ -60,13 +61,8 @@ mainWindowImpl::mainWindowImpl(Session* s, QMainWindow *parent)
}
////////////////////////////
//Create Defaultconfig if there is no one
DefaultConfig myDefaultConfig;
//set SessionConfigPath
mySession->setConfigPath(myDefaultConfig.getMyPath());
myConfig = new ConfigFile(mySession->getConfigPath());
AppDirPath myAppDirPath;
myConfig = new ConfigFile(myAppDirPath.getMyPath());
// Resourcen abladen
QFile preflopValuesFile(":data/resources/data/preflopValues");