~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to akonadi/itemfetchjob.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2014-04-02 11:20:40 UTC
  • mfrom: (1.1.111)
  • Revision ID: package-import@ubuntu.com-20140402112040-comlxst9ou0jlnd0
Tags: 4:4.12.97-0ubuntu1
New upstream release candidate

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
 
82
82
    QString jobDebuggingString() const /*Q_DECL_OVERRIDE*/ {
83
83
      if ( mRequestedItems.isEmpty() ) {
84
 
        return QString::fromLatin1( "All items from collection %1" ).arg( mCollection.id() );
 
84
        QString str = QString::fromLatin1( "All items from collection %1" ).arg( mCollection.id() );
 
85
        if ( mFetchScope.fetchChangedSince().isValid() )
 
86
          str += QString::fromLatin1( " changed since %1" ).arg( mFetchScope.fetchChangedSince().toString() );
 
87
        return str;
85
88
      } else {
86
89
        try {
87
90
          return QString::fromLatin1( ProtocolHelper::entitySetToByteArray( mRequestedItems, AKONADI_CMD_ITEMFETCH ) );