MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / pushBubble

Method pushBubble

src/plugins/core/notify/notificationmanager.cpp:45–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void 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
60Bubble *NotificationManagerPrivate::createBubble(EntityPtr notify)
61{

Callers 1

notifyMethod · 0.80

Calls 1

mainWindowMethod · 0.45

Tested by

no test coverage detected