use 4 spaces instead of tabs

This commit is contained in:
Fabio Bas 2014-10-02 23:42:51 +02:00
parent 37eaeaae13
commit 8d8ccaad7f

View file

@ -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