Commit 1f789986 authored by Jeremy Whiting's avatar Jeremy Whiting
Browse files

Fix a couple of warnings.

Add Q_UNUSED on unused parameters.
Remove unused name parameter.
parent 0dcd3150
......@@ -116,6 +116,8 @@ void Speech::speak(QString command, bool stdIn, const QString &text, const QStri
void Speech::processExited(int exitCode, QProcess::ExitStatus exitStatus)
{
Q_UNUSED(exitCode);
Q_UNUSED(exitStatus);
delete this;
}
......@@ -90,7 +90,7 @@ DictionaryCreationWizard::DictionaryCreationWizard(QWidget *parent,
kdeDocWidget->languageButton->showLanguageCodes(true);
kdeDocWidget->languageButton->loadAllLanguages();
mergeWidget = new MergeWidget(this, "merge source page", dictionaryNames, dictionaryFiles, dictionaryLanguages);
mergeWidget = new MergeWidget(this, dictionaryNames, dictionaryFiles, dictionaryLanguages);
mergeWidget->setTitle(i18n("Source of New Dictionary (2)"));
mergeWidget->setFinalPage(true);
setPage(MergePage, mergeWidget);
......@@ -230,7 +230,7 @@ QString DictionaryCreationWizard::language()
/***************************************************************************/
MergeWidget::MergeWidget(QWidget *parent, const char *name,
MergeWidget::MergeWidget(QWidget *parent,
const QStringList &dictionaryNames, const QStringList &dictionaryFiles,
const QStringList &dictionaryLanguages)
: QWizardPage(parent)
......
......@@ -138,7 +138,7 @@ class MergeWidget : public QWizardPage
{
Q_OBJECT
public:
MergeWidget(QWidget *parent, const char *name,
MergeWidget(QWidget *parent,
const QStringList &dictionaryNames,
const QStringList &dictionaryFiles,
const QStringList &dictionaryLanguages);
......
Supports Markdown
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