|
|
|
@ -2013,7 +2013,7 @@ void DominoStyleConfig::tabPv9(int i) {
|
|
|
|
|
tabBarBottom->repaint(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DominoStyleConfig::loadConfig(const char* name) {
|
|
|
|
|
void DominoStyleConfig::loadConfig(const QString &name) {
|
|
|
|
|
|
|
|
|
|
QColor background = qApp->palette().active().background();
|
|
|
|
|
QColor button = qApp->palette().active().button();
|
|
|
|
@ -2502,13 +2502,13 @@ void DominoStyleConfig::userLoadTabConfig() {
|
|
|
|
|
((DominoQTabWidget*)prevBottomTabWidget)->tabBar()->setUpdatesEnabled(true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DominoStyleConfig::saveConfig(const char* fileName, const char* schemeName ) {
|
|
|
|
|
void DominoStyleConfig::saveConfig(const QString &fileName, const QString &schemeName ) {
|
|
|
|
|
|
|
|
|
|
QString fName;
|
|
|
|
|
QSettings s;
|
|
|
|
|
int c;
|
|
|
|
|
|
|
|
|
|
if(!strcmp(fileName, "domino"))
|
|
|
|
|
if(fileName == "domino")
|
|
|
|
|
fName = fileName;
|
|
|
|
|
else
|
|
|
|
|
fName = QString("domino_").append(fileName);
|
|
|
|
|