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

List:       kde-commits
Subject:    [rekonq] src: Fixed a line that was calling QString::startsWith() without args. Fixed build.
From:       Tirtha Chatterjee <tirtha.p.chatterjee () gmail ! com>
Date:       2012-07-04 21:03:50
Message-ID: 20120704210350.D5ADCA60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 83229d3e2a8b67f6cf2a9ed996ef52609eed0706 by Tirtha Chatterjee.
Committed on 04/07/2012 at 22:57.
Pushed by chatterjee into branch 'master'.

Fixed a line that was calling QString::startsWith() without args. Fixed build.

M  +1    -1    src/webpage.cpp

http://commits.kde.org/rekonq/83229d3e2a8b67f6cf2a9ed996ef52609eed0706

diff --git a/src/webpage.cpp b/src/webpage.cpp
index c028ee5..b6e5a62 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -372,7 +372,7 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
     // This is needed in case rekonq has been associated with something it cannot
     // properly handle (eg: xbel files, see BUG:299056). This way we break an eventual
     // "recall" loop.
-    if (appService->exec().trimmed().startsWith() == QL1S("rekonq"))
+    if (appService->exec().trimmed().startsWith(QL1S("rekonq")))
     {
         isLocal
         ? KMessageBox::sorry(view(), i18n("rekonq cannot properly handle this, sorry"))
[prev in list] [next in list] [prev in thread] [next in thread] 

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