[Bug 307886] New: [patch] gcc41 build failure patch

S. Burmeister sven.burmeister at gmx.net
Fri Oct 5 11:08:21 BST 2012


https://bugs.kde.org/show_bug.cgi?id=307886

            Bug ID: 307886
          Severity: normal
           Version: 1.8.0
          Priority: NOR
          Assignee: kdepim-bugs at kde.org
           Summary: [patch] gcc41 build failure patch
    Classification: Unclassified
                OS: Linux
          Reporter: sven.burmeister at gmx.net
          Hardware: Other
            Status: UNCONFIRMED
         Component: server
           Product: Akonadi

Downstream at openSUSE the following patch is still applied.

Does it make sense to include it upstream?

--- server/src/nepomuk/queryserviceclient.h
+++ server/src/nepomuk/queryserviceclient.h
@@ -27,6 +27,8 @@
 class QUrl;

 namespace Nepomuk {
+    typedef QHash<QString, QString> QStringHashMap;
+
     namespace Query {

         class Result;
@@ -82,7 +84,7 @@
              *
              * \sa QueryParser
              */
-            bool query(const QString& query, const QHash<QString, QString>
&encodedRps = ( QHash<QString, QString>() ) );
+            bool query( const QString& query, const QStringHashMap &encodedRps
= QStringHashMap() );

             /**
              * Start a query using the Nepomuk query service.
@@ -102,7 +104,7 @@
              *
              * \sa query(const QString&), close()
              */
-            bool blockingQuery( const QString& query, const QHash<QString,
QString> &encodedRps = ( QHash<QString, QString>() ) );
+            bool blockingQuery( const QString& query, const QStringHashMap
&encodedRps = QStringHashMap() );

             /**
              * Close the client, thus stop to monitor the query

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list