Skip to content
Snippets Groups Projects
Verified Commit 5f20f94e authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Use Badge function on non-dbus systems

parent 4c71f6f2
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,6 @@ void
Dock::setUnreadCount(const int count)
{
unitySetNotificationCount(count);
// qGuiApp->setBadgeNumber(count);
}
void
Dock::unitySetNotificationCount(const int count)
......@@ -87,7 +85,8 @@ Dock::Dock(QObject *parent)
{
}
void
Dock::setUnreadCount(const int)
Dock::setUnreadCount(const int count)
{
qGuiApp->setBadgeNumber(count);
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment