forked from qt-creator/qt-creator
Help: Compile with QT_NO_CAST_FROM_ASCII
Change-Id: Iba24d4f2d02de790f31d9606c7f9b85faf4670ce Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
This commit is contained in:
committed by
Karsten Heimrich
parent
ade966222d
commit
c37420eeb3
@@ -186,7 +186,7 @@ void GeneralSettingsPage::apply()
|
||||
manager->setCustomValue(QLatin1String("ContextHelpOption"), helpOption);
|
||||
|
||||
QSettings *settings = Core::ICore::settings();
|
||||
settings->beginGroup(Help::Constants::ID_MODE_HELP);
|
||||
settings->beginGroup(QLatin1String(Help::Constants::ID_MODE_HELP));
|
||||
settings->setValue(QLatin1String("ContextHelpOption"), helpOption);
|
||||
settings->endGroup();
|
||||
|
||||
@@ -247,7 +247,7 @@ void GeneralSettingsPage::exportBookmarks()
|
||||
m_ui->errorLabel->setVisible(false);
|
||||
|
||||
QString fileName = QFileDialog::getSaveFileName(0, tr("Save File"),
|
||||
"untitled.xbel", tr("Files (*.xbel)"));
|
||||
QLatin1String("untitled.xbel"), tr("Files (*.xbel)"));
|
||||
|
||||
QLatin1String suffix(".xbel");
|
||||
if (!fileName.endsWith(suffix))
|
||||
|
||||
Reference in New Issue
Block a user