Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 657d03e0 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Make setHelp() usable (KF 5.52 needed). Many thanks for the hint given by Albert Astals Cid.

parent 772837ef
......@@ -188,7 +188,7 @@ MainDlg::MainDlg(QWidget *parentWidget, QObject *parent, const QVariantList& ) :
// Let's create a Configure Dialog
m_settingsDialog = new KConfigDialog( parentWidget, "settings", Settings::self() );
// m_settingsDialog->setHelp("configuration", QLatin1String("kmplot"));
QMetaObject::invokeMethod(m_settingsDialog, "setHelp", Qt::DirectConnection, Q_ARG(QString, "configuration"), Q_ARG(QString, "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