| 43 | } |
| 44 | |
| 45 | void NotificationManagerPrivate::pushBubble(EntityPtr notify) |
| 46 | { |
| 47 | if (!notify) |
| 48 | return; |
| 49 | |
| 50 | if (!mainWindow) |
| 51 | mainWindow = Controller::instance()->mainWindow(); |
| 52 | |
| 53 | Bubble *bubble = createBubble(notify); |
| 54 | if (!bubble) |
| 55 | return; |
| 56 | |
| 57 | addContent(bubble); |
| 58 | } |
| 59 | |
| 60 | Bubble *NotificationManagerPrivate::createBubble(EntityPtr notify) |
| 61 | { |