summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp10
-rw-r--r--core/pim/today/todaybase.cpp1
2 files changed, 6 insertions, 5 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 4ec690c..83d8601 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -371,9 +371,11 @@ void Today::refresh() {
QValueList<TodayPlugin>::Iterator it;
for ( it = pluginList.begin(); it != pluginList.end(); ++it ) {
- if ( !(*it).excludeRefresh ) {
- (*it).guiPart->refresh();
- qDebug( "refresh" );
- }
+ if ( !(*it).excludeRefresh ) {
+ (*it).guiPart->refresh();
+ layout->addWidget( (*it).guiBox );
+ qDebug( "refresh" );
+ }
}
+ layout->addStretch(0);
}
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index 7beed34..41daa7d 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -54,5 +54,4 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
Frame->setFrameShadow( QFrame::Raised );
Frame->setLineWidth( 0 );
- Frame->setMaximumHeight( 50 );
QHBoxLayout *frameLayout = new QHBoxLayout( Frame );