From 90a773ea3574969deb0397ecfb0e2a25cd973ab2 Mon Sep 17 00:00:00 2001
From: Maurice Kalinowski <maurice.kalinowski@nokia.com>
Date: Fri, 31 Jul 2009 12:30:55 +0200
Subject: [PATCH] fix crash

check for errorstring of the correct variable
---
 src/plugins/cpaster/codepasterprotocol.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/cpaster/codepasterprotocol.cpp b/src/plugins/cpaster/codepasterprotocol.cpp
index 57a21dee219..3e0f9db1390 100644
--- a/src/plugins/cpaster/codepasterprotocol.cpp
+++ b/src/plugins/cpaster/codepasterprotocol.cpp
@@ -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();
-- 
GitLab