fix flicker of notification

This commit is contained in:
Patrick von Reth 2014-10-14 11:30:01 +02:00
parent 7803a8bfdc
commit 64ee05b079
2 changed files with 1 additions and 3 deletions

View File

@ -31,6 +31,7 @@ Rectangle {
animation.from = Screen.desktopAvailableWidth animation.from = Screen.desktopAvailableWidth
animation.to = Screen.desktopAvailableWidth - width animation.to = Screen.desktopAvailableWidth - width
animation.start() animation.start()
window.visible = true
} }
} }

View File

@ -95,9 +95,6 @@ void NotifyWidget::display(const Notification &notification)
Q_ARG(QVariant, color), Q_ARG(QVariant, color),
Q_ARG(QVariant, textColor), Q_ARG(QVariant, textColor),
Q_ARG(QVariant, notification.isUpdate())); Q_ARG(QVariant, notification.isUpdate()));
if (!notification.isUpdate()) {
show();
}
} }