diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-04-06 20:13:24 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-04-06 20:13:24 +0200 |
commit | 5d3112684ba2b692a07b0328ad308c402276e51e (patch) | |
tree | c5913723d0a9f0eb7624ff883c59bda5aa0deff5 /dominoConfig/dominoconf.cpp | |
parent | 0fc8bd091a374e11cf7b517e01ab0712161049d3 (diff) | |
download | tde-style-domino-5d3112684ba2b692a07b0328ad308c402276e51e.tar.gz tde-style-domino-5d3112684ba2b692a07b0328ad308c402276e51e.zip |
Fix using UTF-8 characters in the schema names
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'dominoConfig/dominoconf.cpp')
-rw-r--r-- | dominoConfig/dominoconf.cpp | 6 |
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); |