summaryrefslogtreecommitdiffstats
path: root/dominoConfig/dominoconf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dominoConfig/dominoconf.cpp')
-rw-r--r--dominoConfig/dominoconf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dominoConfig/dominoconf.cpp b/dominoConfig/dominoconf.cpp
index 056a745..d25e056 100644
--- a/dominoConfig/dominoconf.cpp
+++ b/dominoConfig/dominoconf.cpp
@@ -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);