~ubuntu-branches/ubuntu/utopic/psi/utopic

« back to all changes in this revision

Viewing changes to src/psiapplication.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

Show diffs side-by-side

added added

removed removed

Lines of Context:
320
320
}
321
321
#endif
322
322
 
323
 
#ifdef Q_WS_WIN
324
 
bool PsiApplication::winEventFilter(MSG* msg, long* result)
 
323
void PsiApplication::commitData(QSessionManager& manager)
325
324
{
326
 
        if (msg->message == WM_POWERBROADCAST || msg->message == WM_QUERYENDSESSION) {
327
 
                return static_cast<WinSystemWatch*>(SystemWatch::instance())->processWinEvent(msg, result);
328
 
        }
329
 
        return false;
 
325
        emit forceSavePreferences();
330
326
}
331
 
#endif