[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/drkonqi
From:       George Kiagiadakis <kiagiadakis.george () gmail ! com>
Date:       2010-11-10 16:00:42
Message-ID: 20101110160042.DC1F2AC89E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1195225 by gkiagia:

Show a more clueful message if bug reporting fails because cookies are not enabled.
CCBUG: 249529

 M  +3 -3      bugzillalib.cpp  


--- trunk/KDE/kdebase/runtime/drkonqi/bugzillalib.cpp #1195224:1195225
@@ -649,11 +649,11 @@
     int pos = reg.indexIn(response);
     if (pos != -1) {
         errorMessage = reg.cap(1).trimmed();
-    } else {
-        if (fallbackMessage) {
+    } else if (response.contains("Log in to Bugzilla")) {
+        errorMessage = i18nc("@info", "You are not logged in. Make sure cookies are enabled.");
+    } else if (fallbackMessage) {
             errorMessage = i18nc("@info","Unknown error");
         }
-    }
 
     return errorMessage;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic