Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d9499e7c authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent 1e5a68bd
......@@ -51,9 +51,6 @@ Q_SIGNALS:
void okClicked();
private:
Q_PRIVATE_SLOT(d, void aggregationListItemClicked(QListWidgetItem *cur))
Q_PRIVATE_SLOT(d, void editedAggregationNameChanged())
class Private;
Private *const d;
};
......
......@@ -118,8 +118,8 @@ ConfigureThemesDialog::ConfigureThemesDialog(QWidget *parent)
d->mThemeList->setSortingEnabled(true);
g->addWidget(d->mThemeList, 0, 0, 7, 1);
connect(d->mThemeList, SIGNAL(itemClicked(QListWidgetItem*)),
SLOT(themeListItemClicked(QListWidgetItem*)));
connect(d->mThemeList, &ThemeListWidget::itemClicked,
this, [this](QListWidgetItem *item) { d->themeListItemClicked(item); });
d->mNewThemeButton = new QPushButton(i18n("New Theme"), base);
d->mNewThemeButton->setIcon(QIcon::fromTheme(QStringLiteral("document-new")));
......
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