Moved flopValues/preflopValues data from files to source code of engine.

This commit is contained in:
lotodore
2007-09-04 09:38:32 +00:00
parent ad54eb9924
commit b9e5ed52dc
3 changed files with 838 additions and 72 deletions
-13
View File
@@ -72,19 +72,6 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
myQtHelper = new QtHelper;
// Resourcen abladen
QFile preflopValuesFile(myQtHelper->getDataPath() +"misc/preflopValues");
QFile preflopValuesFileDest(QString::fromUtf8(myConfig->readConfigString("DataDir").c_str())+QString("preflopValues"));
// if(!preflopValuesFileDest.exists()) {
preflopValuesFile.copy(QString::fromUtf8(myConfig->readConfigString("DataDir").c_str())+QString("preflopValues"));
// }
QFile flopValuesFile(myQtHelper->getDataPath() +"misc/flopValues");
QFile flopValuesFileDest(QString::fromUtf8(myConfig->readConfigString("DataDir").c_str())+QString("flopValues"));
// if(!flopValuesFileDest.exists()) {
flopValuesFile.copy(QString::fromUtf8(myConfig->readConfigString("DataDir").c_str())+QString("flopValues"));
// }
setupUi(this);
//pixmapCardsLabel erstellen und ins Layout einfügen!