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

« back to all changes in this revision

Viewing changes to akonadi/session.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
using namespace Akonadi;
52
52
 
53
 
 
54
53
//@cond PRIVATE
55
54
 
56
55
void SessionPrivate::startNext()
195
194
      // handle login response
196
195
      if ( parser->tag() == QByteArray( "0" ) ) {
197
196
        if ( parser->data().startsWith( "OK" ) ) { //krazy:exclude=strings
198
 
          writeData("1 CAPABILITY (NOTIFY 2)");
 
197
          writeData("1 CAPABILITY (NOTIFY 2 NOPAYLOADPATH)");
199
198
        } else {
200
199
          kWarning() << "Unable to login to Akonadi server:" << parser->data();
201
200
          socket->close();
359
358
 
360
359
//@endcond
361
360
 
362
 
 
363
361
SessionPrivate::SessionPrivate( Session *parent )
364
362
    : mParent( parent ), socket( 0 ), protocolVersion( 0 ), currentJob( 0 ), parser( 0 )
365
363
{
401
399
  QMetaObject::invokeMethod( mParent, "reconnect", Qt::QueuedConnection ); // avoids reconnecting in the dtor
402
400
}
403
401
 
404
 
 
405
402
Session::Session(const QByteArray & sessionId, QObject * parent) :
406
403
    QObject( parent ),
407
404
    d( new SessionPrivate( this ) )