~ubuntu-branches/ubuntu/saucy/quassel/saucy-proposed

« back to all changes in this revision

Viewing changes to src/qtui/qtuiapplication.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-02-17 12:49:50 UTC
  • mto: This revision was merged to the branch mainline in revision 59.
  • Revision ID: james.westby@ubuntu.com-20100217124950-v9hajw5d2xa6fszn
Tags: upstream-0.6~beta1
ImportĀ upstreamĀ versionĀ 0.6~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
 
139
139
void QtUiApplication::saveState(QSessionManager & manager) {
140
140
  //qDebug() << QString("saving session state to id %1").arg(manager.sessionId());
141
 
  AccountId activeCore = Client::currentCoreAccount(); // FIXME store this!
 
141
  AccountId activeCore = Client::currentCoreAccount().accountId(); // FIXME store this!
142
142
  SessionSettings s(manager.sessionId());
143
143
  s.setSessionAge(0);
144
144
  QtUi::mainWindow()->saveStateToSettings(s);