~ubuntu-branches/ubuntu/precise/kubuntu-notification-helper/precise

« back to all changes in this revision

Viewing changes to src/daemon/notificationhelpermodule.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter, Harald Sitter, Jonathan Thomas
  • Date: 2010-04-08 12:29:38 UTC
  • Revision ID: james.westby@ubuntu.com-20100408122938-q5zg13ly5dcsvqkg
Tags: 10.04ubuntu3
[ Harald Sitter ]
* Add screensaver support to the installerevent (LP: #558333)

[ Jonathan Thomas ]
* Do a one-time check for hooks on startup, so that hooks meant for the
  first boot actually show up. (LP: #557217)

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
                this, SLOT(hookEvent()));
91
91
        connect(m_configWatcher, SIGNAL(reloadConfigCalled()),
92
92
                m_hookEvent, SLOT(reloadConfig()));
 
93
 
 
94
        // Sometimes hooks are for the first boot, so force a check
 
95
        QTimer::singleShot(5000, this, SLOT(hookEvent()));
93
96
    }
94
97
 
95
98
    if (!m_installEvent->isHidden())