correct the last commit

This commit is contained in:
Marco Martin 2014-04-23 21:14:56 +02:00
parent fc98e6323b
commit 7ce31b6b69

View File

@ -131,7 +131,7 @@ void DialogPrivate::syncBorders()
//Tooltips always have all the borders
// floating windows have all borders
if (!(q->flags() & Qt::ToolTip) || location == Plasma::Types::Floating) {
if (!(q->flags() & Qt::ToolTip) && location != Plasma::Types::Floating) {
if (q->x() <= avail.x() || location == Plasma::Types::LeftEdge) {
borders = borders & ~Plasma::FrameSvg::LeftBorder;
}