~ubuntu-branches/ubuntu/karmic/choqok/karmic

« back to all changes in this revision

Viewing changes to src/accountmanager.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-06-13 13:51:51 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090613135151-lgqmzpt7letp4j54
Tags: 0.6.1-0ubuntu1
* New upstream release (LP: #386691)
* Update short description, choqok is more than a twitter client
* Switch to cdbs kde.mk, in debian rules:
  - Remove /usr/share/pkg-kde-tools/qt-kde-team/1/debian-qt-kde.mk    
  - Add /usr/share/cdbs/1/rules/debhelper.mk
  - Add /usr/share/pkg-kde-tools/makefiles/1/cdbs/kde.mk
  Update copyright ( © ) symbol in debian/copyright to valid symbol

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
            Account a;
178
178
            KConfigGroup accountGrp( conf, list[i] );
179
179
            a.setUsername( accountGrp.readEntry( "username", QString() ) );
180
 
            a.setUserId( accountGrp.readEntry( "userId", uint( -1 ) ) );
 
180
            a.setUserId( accountGrp.readEntry( "userId", qulonglong( -1 ) ) );
181
181
            a.setAlias( accountGrp.readEntry( "alias", QString() ) );
182
182
            int service_type = accountGrp.readEntry( "service_type", -1 );
183
183
            QString homepage = accountGrp.readEntry( "homepage", QString() );
202
202
                kDebug() << "Password loaded from config file.";
203
203
            }
204
204
            a.setError( false );
205
 
            if ( a.userId() == ( uint ) - 1 ) {///Just for compatibility with previous versions
 
205
            if ( a.userId() == ( qulonglong ) - 1 ) {///Just for compatibility with previous versions
206
206
                Account *account = new Account( a );
207
207
                Backend *b = new Backend( account );
208
208
                connect( b, SIGNAL( userVerified( Account* ) ), this, SLOT( userVerified( Account* ) ) );