changing card deck styles works basically

This commit is contained in:
doitux
2009-03-30 19:01:54 +00:00
parent b34e423ac3
commit 6a1e2ca351
4 changed files with 41 additions and 35 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ void CardDeckStyleReader::readStyleFile(QString file) {
fallBack = 1;
}
QFileInfo info(currentFileName);
currentFileDir = info.absolutePath();
currentDir = info.absolutePath()+"/";
//start reading the file and fill vars
string tempString1("");
@@ -77,6 +77,6 @@ void CardDeckStyleReader::readStyleFile(QString file) {
QString CardDeckStyleReader::getPreview()
{
return QString(currentFileDir+"/"+Preview);
return QString(currentDir+"/"+Preview);
}