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

« back to all changes in this revision

Viewing changes to src/qtui/indicatornotificationbackend.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:
51
51
    .arg(XSTR(XDG_APPS_INSTALL_DIR))
52
52
    .arg(QCoreApplication::applicationFilePath().section('/', -1));
53
53
  _server->setDesktopFile(desktopFile);
54
 
  connect(_server, SIGNAL(serverDisplay()), QtUi::mainWindow(), SLOT(forceActivated()));
 
54
  connect(_server, SIGNAL(serverDisplay()), SLOT(activateMainWidget()));
55
55
 
56
56
  if (_enabled) {
57
57
    _server->show();
62
62
  qDeleteAll(_indicatorHash);
63
63
}
64
64
 
 
65
void IndicatorNotificationBackend::activateMainWidget() {
 
66
  GraphicalUi::activateMainWidget();
 
67
}
 
68
 
65
69
void IndicatorNotificationBackend::notify(const Notification &notification) {
66
70
  if(!_enabled) {
67
71
    return;