[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/rssnow
From: Christian Weilbach <christian () whiletaker ! homeip ! net>
Date: 2008-08-20 1:12:05
Message-ID: 1219194725.795395.14306.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 849737 by weilbach:
Move code to increase the height if the scrollers cannot fit in the current layout to \
the right position and get it working.
M +5 -5 news.cpp
--- trunk/playground/base/plasma/applets/rssnow/news.cpp #849736:849737
@@ -273,6 +273,11 @@
m_layout->setGeometry(geometry());
+ QRectF layoutRectF = m_layout->geometry();
+ QRectF appletRectF = geometry();
+ appletRectF.setHeight(layoutRectF.height()+20);
+ setGeometry( appletRectF );
+
m_timer->start();
connectToEngine();
}
@@ -350,11 +355,6 @@
kDebug() << "allfeeds = " << allfeeds;
m_feedlist.clear();
m_feedlist.append(allfeeds);
-
- QRectF layoutRectF = m_layout->geometry();
- QRectF appletRectF = geometry();
- appletRectF.setHeight(layoutRectF.height()+20);
- setGeometry( appletRectF );
} else {
//TODO: restore default settings.
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic