-rw-r--r-- | core/pim/today/today.cpp | 2 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index d0cdd18..4ec690c 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -297,5 +297,5 @@ void Today::draw() { plugin = pluginList[i]; - if ( plugin.active ) { + if ( plugin.active ) { // qDebug( plugin.name + " is ACTIVE " ); plugin.guiBox->show(); diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index c896463..7beed34 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp @@ -31,5 +31,5 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon - layout = new QVBoxLayout( this ); + layout = 0L; QPalette pal = this->palette(); @@ -54,7 +54,9 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) Frame->setFrameShadow( QFrame::Raised ); Frame->setLineWidth( 0 ); + Frame->setMaximumHeight( 50 ); QHBoxLayout *frameLayout = new QHBoxLayout( Frame ); QVBox *box1 = new QVBox( Frame ); + box1->setMinimumWidth( 100 ); // Today text TodayLabel = new QLabel( box1, "TodayText" ); |