Commit 90a773ea authored by Maurice Kalinowski's avatar Maurice Kalinowski
Browse files

fix crash

check for errorstring of the correct variable
parent 5c663082
...@@ -139,7 +139,7 @@ void CodePasterProtocol::fetchFinished() ...@@ -139,7 +139,7 @@ void CodePasterProtocol::fetchFinished()
void CodePasterProtocol::listFinished() void CodePasterProtocol::listFinished()
{ {
if (listReply->error()) { if (listReply->error()) {
ICore::instance()->messageManager()->printToOutputPane(reply->errorString(), true); ICore::instance()->messageManager()->printToOutputPane(listReply->errorString(), true);
} else { } else {
QByteArray data = listReply->readAll(); QByteArray data = listReply->readAll();
listWidget->clear(); listWidget->clear();
......
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