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

Port to new connect api

parent b28ccc6b
......@@ -171,8 +171,8 @@ Pane::Pane(bool restoreSession, QAbstractItemModel *model, QItemSelectionModel *
connect(d->mSelectionModel, SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
this, SLOT(onSelectionChanged(QItemSelection,QItemSelection)));
connect(this, SIGNAL(currentChanged(int)),
this, SLOT(onCurrentTabChanged()));
connect(this, &Pane::currentChanged,
this, [this]() { d->onCurrentTabChanged(); });
setContextMenuPolicy(Qt::CustomContextMenu);
connect(this, &Pane::customContextMenuRequested, this, [this](const QPoint &point) { d->onTabContextMenuRequest(point);});
......
......@@ -434,7 +434,6 @@ private:
Q_PRIVATE_SLOT(d, void onSelectionChanged(const QItemSelection &, const QItemSelection &))
Q_PRIVATE_SLOT(d, void closeTab(QWidget *))
Q_PRIVATE_SLOT(d, void onCurrentTabChanged())
Q_PRIVATE_SLOT(d, void updateTabControls())
Q_PRIVATE_SLOT(d, void changeQuicksearchVisibility(bool))
......
......@@ -51,8 +51,6 @@ Q_SIGNALS:
void configureDialogCompleted();
private:
Q_PRIVATE_SLOT(d, void slotConfigureAggregations())
AggregationConfigButtonPrivate *const d;
};
} // namespace Utils
......
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