Commit 1d57a42e authored by Yuri Chornoivan's avatar Yuri Chornoivan

Avoid casting from ASCII

parent 11993039
......@@ -51,7 +51,7 @@ CoordsConfigDialog::CoordsConfigDialog(QWidget *parent)
configAxesDialog->layout()->setContentsMargins( 0, 0, 0, 0 );
addPage(configAxesDialog , i18n( "Coordinates" ), "coords", i18n( "Coordinate System" ) );
setWindowTitle( i18n( "Coordinate System" ) );
setHelp("axes-config");
setHelp(QString::fromLatin1("axes-config"));
setFaceType( Plain );
connect( configAxesDialog->kcfg_XMin, &EquationEdit::textEdited, this, &CoordsConfigDialog::updateButtons );
connect( configAxesDialog->kcfg_XMax, &EquationEdit::textEdited, this, &CoordsConfigDialog::updateButtons );
......
......@@ -186,7 +186,7 @@ MainDlg::MainDlg(QWidget *parentWidget, QObject *parent, const QVariantList& ) :
// Let's create a Configure Dialog
m_settingsDialog = new KConfigDialog( parentWidget, "settings", Settings::self() );
QMetaObject::invokeMethod(m_settingsDialog, "setHelp", Qt::DirectConnection, Q_ARG(QString, "configuration"), Q_ARG(QString, "kmplot"));
QMetaObject::invokeMethod(m_settingsDialog, "setHelp", Qt::DirectConnection, Q_ARG(QString, QString::fromLatin1("configuration")), Q_ARG(QString, QString::fromLatin1("kmplot")));
// create and add the page(s)
m_generalSettings = new SettingsPageGeneral( View::self() );
......
Markdown is supported
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