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