Commit e7c78fd6 authored by Alexander Lohnau's avatar Alexander Lohnau 💬

Port last Qt4 connects/remove non-existent one

parent 55cd2fef
......@@ -73,9 +73,8 @@ ComicArchiveDialog::ComicArchiveDialog( const QString &pluginName, const QString
ui.dest->setStartDir(QUrl::fromLocalFile(savingDir));
}
connect( ui.archiveType, SIGNAL(currentIndexChanged(int)), this, SLOT(archiveTypeChanged(int)) );
connect( ui.archiveType, qOverload<int>(&KComboBox::currentIndexChanged), this, &ComicArchiveDialog::archiveTypeChanged );
connect( ui.dest, &KUrlRequester::textChanged, this, &ComicArchiveDialog::updateOkButton );
connect( this, SIGNAL(okClicked()), this, SLOT(slotOkClicked()) );
}
void ComicArchiveDialog::archiveTypeChanged( int newType )
......
......@@ -21,7 +21,7 @@ DictionaryRunnerConfig::DictionaryRunnerConfig(QWidget* parent, const QVariantLi
m_triggerWord = new QLineEdit;
layout->addRow(i18nc("@label:textbox", "Trigger word:"), m_triggerWord);
setLayout(layout);
connect(m_triggerWord, SIGNAL(textChanged(QString)), this, SLOT(changed()));
connect(m_triggerWord, &QLineEdit::textChanged, this, &DictionaryRunnerConfig::markAsChanged);
load();
}
......
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