Commit ed363e7b authored by Yuri Chornoivan's avatar Yuri Chornoivan

Allow direct link to the help page when the Help button is pressed in the settings window

Differential Revision: https://phabricator.kde.org/D17720
parent 018dc7e0
......@@ -43,6 +43,8 @@ KanagramConfigDialog::KanagramConfigDialog(QWidget *parent, const QString &name,
connect(m_vocabSettingsPage, &VocabSettings::widgetModified, this, &KanagramConfigDialog::settingsModified);
m_hasChanged = false;
setHelp(QStringLiteral("configuring"), QStringLiteral("kanagram"));
}
KanagramConfigDialog::~KanagramConfigDialog()
......
......@@ -109,7 +109,6 @@ void MainWindow::showSettings()
connect(m_configDialog, &KConfigDialog::accepted, m_game, &KanagramGame::refreshVocabularyList);
// m_configDialog->setHelp("kanagram/index.html");
m_configDialog->resize(600, 500);
m_configDialog->show();
}
......
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