Commit 026a71f3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

use new signal/slot api

parent 328585ed
......@@ -62,7 +62,7 @@ void GravatarConfigWidgetTest::shoulEmitConfigChangedSignal()
w.show();
QCheckBox *enableGravatar = w.findChild<QCheckBox *>(QStringLiteral("gravatarcheckbox"));
QSignalSpy spy(&w, SIGNAL(configChanged(bool)));
QSignalSpy spy(&w, &Gravatar::GravatarConfigWidget::configChanged);
QTest::mouseClick(enableGravatar, Qt::LeftButton);
QCOMPARE(spy.count(), 1);
}
......
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