diff options
| author | Jesper K. Pedersen <jesper.pedersen@kdab.com> | 2013-04-16 08:44:14 +0200 |
|---|---|---|
| committer | Jesper K. Pedersen <jesper.pedersen@kdab.com> | 2013-04-16 14:16:20 +0200 |
| commit | 6477b6591a365db4c19d6151589e01f89fdd9c84 (patch) | |
| tree | 1391d4634b812b124123ec7b7830ff19e4973b14 /scriptmanager.cpp | |
| parent | 74e093436dd158ba7f583824ce0331a344de7467 (diff) | |
Made it compile with Qt Creator 2.7.1
Change-Id: If1f5b49c912fc3719bb017d389412ac5676100bf
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Diffstat (limited to 'scriptmanager.cpp')
| -rw-r--r-- | scriptmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scriptmanager.cpp b/scriptmanager.cpp index 90dc7b1..882839c 100644 --- a/scriptmanager.cpp +++ b/scriptmanager.cpp @@ -112,7 +112,7 @@ QString ScriptManager::defaultDirectory() const QString ScriptManager::scriptDirectory(ProjectExplorer::Project *project) const { - const QString &path = project->projectDirectory() + '/' + Constants::S_SCRIPTDIRECTORY; + const QString &path = project->projectDirectory() + QLatin1Char('/') + Constants::S_SCRIPTDIRECTORY; if (QFile::exists(path)) return path; @@ -128,11 +128,11 @@ QStringList scriptListFromDir(const QString &path) { QDir dir(path); QStringList filter; - filter << QString("*.") + Constants::S_EXTENSION; + filter << QLatin1String("*.") + Constants::S_EXTENSION; QStringList files = dir.entryList(filter, QDir::Files); for (int i=0; i<files.count(); ++i) { - QString fileName = dir.absolutePath() + '/' + files.at(i); + QString fileName = dir.absolutePath() + QLatin1Char('/') + files.at(i); files[i] = fileName; } |
