basic table skinning works. pics are changeable. colors will follow
This commit is contained in:
@@ -67,7 +67,7 @@ void CardDeckStyleReader::readStyleFile(QString file) {
|
||||
tempString1 = tmpStr1;
|
||||
|
||||
if(itemsList->ValueStr() == "StyleDescription") { StyleDescription = QString::fromUtf8(tempString1.c_str()); }
|
||||
else if (itemsList->ValueStr() == "Preview") { Preview = QString::fromUtf8(tempString1.c_str()); }
|
||||
else if (itemsList->ValueStr() == "Preview") { Preview = currentDir+QString::fromUtf8(tempString1.c_str()); }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,8 +75,3 @@ void CardDeckStyleReader::readStyleFile(QString file) {
|
||||
else { qDebug() << "could not load card deck file: " << tinyFileName.c_str(); }
|
||||
}
|
||||
|
||||
QString CardDeckStyleReader::getPreview()
|
||||
{
|
||||
return QString(currentDir+"/"+Preview);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user