[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/generic/applets/notifications/ui
From: Rafael Fernández López <ereslibre () kde ! org>
Date: 2010-12-17 18:26:56
Message-ID: 20101217182656.D9A47AC8A8 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1207380 by ereslibre:
Only resize height. This way if we have a notification stack snapped to the right margin, it will always keep snapped
M +2 -2 notificationstack.cpp
--- trunk/KDE/kdebase/workspace/plasma/generic/applets/notifications/ui/notificationstack.cpp #1207379:1207380
@@ -99,7 +99,7 @@
m_mainLayout->insertItem(0, notificationWidget);
m_mainLayout->activate();
updateGeometry();
- resize(effectiveSizeHint(Qt::MinimumSize));
+ resize(size().width(), effectiveSizeHint(Qt::MinimumSize).height());
emit updateRequested();
}
@@ -131,7 +131,7 @@
}
updateGeometry();
- resize(sizeHint(Qt::MinimumSize, QSizeF()));
+ resize(size().width(), sizeHint(Qt::MinimumSize, QSizeF()).height());
emit updateRequested();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic