[plasmaquick/dialog] Don't use KWindowEffects for Notification window type

REVIEW: 126727
This commit is contained in:
Martin Klapetek 2016-01-12 13:04:11 -05:00
parent 427419ba2e
commit 311cde3ba5

View File

@ -279,7 +279,7 @@ void DialogPrivate::updateVisibility(bool visible)
} }
if (!(q->flags() & Qt::ToolTip)) { if (!(q->flags() & Qt::ToolTip) && type != Dialog::Notification) {
KWindowEffects::SlideFromLocation slideLocation = KWindowEffects::NoEdge; KWindowEffects::SlideFromLocation slideLocation = KWindowEffects::NoEdge;
switch (location) { switch (location) {