Commit 8d8ccaad authored by Fabio Bas's avatar Fabio Bas
Browse files

use 4 spaces instead of tabs

parent 37eaeaae
...@@ -9,23 +9,23 @@ ...@@ -9,23 +9,23 @@
QString SettingsCache::guessConfigurationPath(QString & specificPath) QString SettingsCache::guessConfigurationPath(QString & specificPath)
{ {
const QString fileName="servatrice.ini"; const QString fileName="servatrice.ini";
QString guessFileName; QString guessFileName;
// specific path // specific path
if(!specificPath.isEmpty() && QFile::exists(specificPath)) if(!specificPath.isEmpty() && QFile::exists(specificPath))
return specificPath; return specificPath;
// application directory path // application directory path
guessFileName = QCoreApplication::applicationDirPath() + "/" + fileName; guessFileName = QCoreApplication::applicationDirPath() + "/" + fileName;
if(QFile::exists(guessFileName)) if(QFile::exists(guessFileName))
return guessFileName; return guessFileName;
#ifdef Q_OS_UNIX #ifdef Q_OS_UNIX
// /etc // /etc
guessFileName = "/etc/servatrice/" + fileName; guessFileName = "/etc/servatrice/" + fileName;
if(QFile::exists(guessFileName)) if(QFile::exists(guessFileName))
return guessFileName; return guessFileName;
#endif #endif
#if QT_VERSION >= 0x050000 #if QT_VERSION >= 0x050000
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment