Skip to content

Commit

Permalink
fix 1100 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
wadealer committed Mar 10, 2012
1 parent 6508b1b commit 21cae8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/1100-psiplus-new-popups.diff
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,7 @@
if ((popupType == PopupOnline && PsiOptions::instance()->getOption("options.ui.notifications.passive-popups.status.online").toBool()) || (popupType == PopupStatusChange && PsiOptions::instance()->getOption("options.ui.notifications.passive-popups.status.other-changes").toBool())) {
- PsiPopup *popup = new PsiPopup(pt, this);
- popup->setData(j, r, u);
+ psi()->popupManager()->doPopup(this, pt, j, r, u, false);
+ psi()->popupManager()->doPopup(this, pt, j, r, u, 0, false);
}
-#if defined(Q_WS_MAC) && defined(HAVE_GROWL)
- PsiGrowlNotifier::instance()->popup(this, pt, j, r, u);
Expand Down Expand Up @@ -1587,7 +1587,7 @@
if (PsiOptions::instance()->getOption("options.ui.notifications.passive-popups.status.offline").toBool()) {
- PsiPopup *popup = new PsiPopup(PsiPopup::AlertOffline, this);
- popup->setData(j, r, u);
+ psi()->popupManager()->doPopup(this, PopupManager::AlertOffline, j, r, u, false);
+ psi()->popupManager()->doPopup(this, PopupManager::AlertOffline, j, r, u, 0, false);
}
-#if defined(Q_WS_MAC) && defined(HAVE_GROWL)
- PsiGrowlNotifier::instance()->popup(this, PsiPopup::AlertOffline, j, r, u);
Expand Down

0 comments on commit 21cae8a

Please sign in to comment.