Commit acc2194e authored by Tobias Hunger's avatar Tobias Hunger
Browse files

CodePaster: Fix broken connects

I broke some connects today, fix them by turning them into
Qt5 style connects.

Change-Id: I5aab2afcebbef5a5f36840352598c747d5d60477
Reviewed-by: default avatarTobias Hunger <>
parent f62663e8
......@@ -127,9 +127,8 @@ bool CodepasterPlugin::initialize(const QStringList &arguments, QString *errorMe
const int count = sizeof(protos) / sizeof(Protocol *);
for (int i = 0; i < count; ++i) {
connect(protos[i], SIGNAL(pasteDone(QString)), this, SLOT(finishPost(QString)));
connect(protos[i], SIGNAL(fetchDone(QString,QString,bool)),
this, SLOT(finishFetch(QString,QString,bool)));
connect(protos[i], &Protocol::pasteDone, this, &CodepasterPlugin::finishPost);
connect(protos[i], &Protocol::fetchDone, this, &CodepasterPlugin::finishFetch);
if (protos[i]->hasSettings())
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