compile everything with QT_USE_FAST_CONCATENATION

This commit is contained in:
Oswald Buddenhagen
2010-02-04 14:58:33 +01:00
parent 7df3082b6c
commit e70530c5ad
9 changed files with 15 additions and 13 deletions

View File

@@ -139,7 +139,7 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
// FIXME shouldn't the help engine create the directory if it doesn't exist?
const QFileInfo &fi(m_core->settings()->fileName());
const QDir &directory(fi.absolutePath()+"/qtcreator");
const QDir directory(fi.absolutePath() + QLatin1Literal("/qtcreator"));
if (!directory.exists())
directory.mkpath(directory.absolutePath());
m_helpEngine = new QHelpEngine(directory.absolutePath() +
@@ -976,8 +976,8 @@ void HelpPlugin::openHelpPage(const QString& url)
} else {
urlPrefix = QLatin1String("http://doc.trolltech.com/latest/");
}
QDesktopServices::openUrl(urlPrefix + url.mid(url
.lastIndexOf(QLatin1Char('/')) + 1));
QDesktopServices::openUrl(QUrl(urlPrefix + url.mid(url
.lastIndexOf(QLatin1Char('/')) + 1)));
}
}