forked from qt-creator/qt-creator
fix crash
check for errorstring of the correct variable
This commit is contained in:
@@ -139,7 +139,7 @@ void CodePasterProtocol::fetchFinished()
|
||||
void CodePasterProtocol::listFinished()
|
||||
{
|
||||
if (listReply->error()) {
|
||||
ICore::instance()->messageManager()->printToOutputPane(reply->errorString(), true);
|
||||
ICore::instance()->messageManager()->printToOutputPane(listReply->errorString(), true);
|
||||
} else {
|
||||
QByteArray data = listReply->readAll();
|
||||
listWidget->clear();
|
||||
|
Reference in New Issue
Block a user