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

List:       kde-commits
Subject:    [kdepim] /: Disambiguate to fix the build with older gcc (like on Mac).
From:       Till Adam <adam () kde ! org>
Date:       2012-10-13 17:04:35
Message-ID: 20121013170435.E4A9DA6078 () git ! kde ! org
[Download RAW message or body]

Git commit d847b182145f6f1b03e012d73e5915b76d550577 by Till Adam.
Committed on 13/10/2012 at 19:04.
Pushed by tilladam into branch 'master'.

Disambiguate to fix the build with older gcc (like on Mac).

M  +2    -2    kmail/tagactionmanager.cpp
M  +2    -1    mailcommon/filter/filteractionaddtag.cpp

http://commits.kde.org/kdepim/d847b182145f6f1b03e012d73e5915b76d550577

diff --git a/kmail/tagactionmanager.cpp b/kmail/tagactionmanager.cpp
index 8d4c143..bff8be9 100644
--- a/kmail/tagactionmanager.cpp
+++ b/kmail/tagactionmanager.cpp
@@ -145,8 +145,8 @@ void TagActionManager::createActions()
             this, SLOT(newTagEntries(QList<Nepomuk2::Query::Result>)) );
       connect( mTagQueryClient, SIGNAL(finishedListing()),
             this, SLOT(finishedTagListing()) );
-
-      Nepomuk2::Query::Query query( Nepomuk2::Query::ResourceTypeTerm( \
Soprano::Vocabulary::NAO::Tag() ) ); +      Nepomuk2::Query::ResourceTypeTerm term( \
Soprano::Vocabulary::NAO::Tag() ); +      Nepomuk2::Query::Query query( term );
       mTagQueryClient->query(query);
   } else {
     createTagActions();
diff --git a/mailcommon/filter/filteractionaddtag.cpp \
b/mailcommon/filter/filteractionaddtag.cpp index da6dcbd..d085672 100644
--- a/mailcommon/filter/filteractionaddtag.cpp
+++ b/mailcommon/filter/filteractionaddtag.cpp
@@ -57,7 +57,8 @@ void FilterActionAddTag::initializeTagList()
   connect( mTagQueryClient, SIGNAL(finishedListing()),
            this, SLOT(finishedTagListing()) );
 
-  Nepomuk2::Query::Query query( Nepomuk2::Query::ResourceTypeTerm( \
Soprano::Vocabulary::NAO::Tag() ) ); +  Nepomuk2::Query::ResourceTypeTerm term( \
Soprano::Vocabulary::NAO::Tag() ); +  Nepomuk2::Query::Query query( term );
   mTagQueryClient->query(query);
  }
 


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

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