summaryrefslogtreecommitdiffstats
path: root/indexerdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indexerdialog.cpp')
-rw-r--r--indexerdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indexerdialog.cpp b/indexerdialog.cpp
index 0722bad..c9e6ca3 100644
--- a/indexerdialog.cpp
+++ b/indexerdialog.cpp
@@ -12,9 +12,9 @@ IndexerDialog::IndexerDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(paren
//buttons
QPushButton *startB = new QPushButton(tr("Start"));
- connect(startB, SIGNAL(clicked()), mIndexer, SLOT(startIndexing()));
+ connect(startB, &QPushButton::clicked, mIndexer, &IndexerWidget::startIndexing);
QPushButton *stopB = new QPushButton(tr("Stop"));
- connect(stopB, SIGNAL(clicked()), mIndexer, SLOT(stopIndexing()));
+ connect(stopB, &QPushButton::clicked, mIndexer, &IndexerWidget::stopIndexing);
QHBoxLayout *buttonLayout = new QHBoxLayout;
buttonLayout->addStretch();
buttonLayout->addWidget(startB);