diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-15 16:43:44 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-15 16:43:48 +0200 |
commit | 0e4dbeb2ed74ecace9cfa664315e89bfead41b34 (patch) | |
tree | 5f458de41aa6f7ba23ed0fd0225f9f237af524e1 /common | |
parent | 13e18cc4ccc8120a40dac168c6d88c7f1faed203 (diff) | |
download | tde-style-qtcurve-0e4dbeb2ed74ecace9cfa664315e89bfead41b34.tar.gz tde-style-qtcurve-0e4dbeb2ed74ecace9cfa664315e89bfead41b34.zip |
Fix FTBFS with stricter C++11.
This also fixes the inability to translate the description
of file types used in KFileDialog calls.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'common')
-rw-r--r-- | common/config_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/config_file.c b/common/config_file.c index 91a9108..95e31ef 100644 --- a/common/config_file.c +++ b/common/config_file.c @@ -1608,7 +1608,7 @@ static bool readConfig(const char *file, Options *opts, Options *defOpts) TQString filename(TQFile::decodeName(cfgDir)+CONFIG_FILE); if(!TQFile::exists(filename)) - filename=TQFile::decodeName(cfgDir)+"../"OLD_CONFIG_FILE; + filename=TQFile::decodeName(cfgDir)+"../"+OLD_CONFIG_FILE; return readConfig(filename, opts, defOpts); } } @@ -1631,7 +1631,7 @@ static bool readConfig(const char *file, Options *opts, Options *defOpts) sprintf(filename, "%s"CONFIG_FILE, cfgDir); if(!qtcFileExists(filename)) - sprintf(filename, "%s../"OLD_CONFIG_FILE, cfgDir); + sprintf(filename, "%s../" OLD_CONFIG_FILE, cfgDir); rv=readConfig(filename, opts, defOpts); free(filename); return rv; @@ -2300,7 +2300,7 @@ static bool fileExists(const char *path) static const char * getSystemConfigFile() { - static const char * constFiles[]={ /*"/etc/qt4/"OLD_CONFIG_FILE, "/etc/qt3/"OLD_CONFIG_FILE, "/etc/qt/"OLD_CONFIG_FILE,*/ "/etc/"OLD_CONFIG_FILE, NULL }; + static const char * constFiles[]={ /*"/etc/qt4/" OLD_CONFIG_FILE, "/etc/qt3/" OLD_CONFIG_FILE, "/etc/qt/" OLD_CONFIG_FILE,*/ "/etc/" OLD_CONFIG_FILE, NULL }; int i; |