summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp2
-rw-r--r--core/pim/today/todaybase.cpp4
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
@@ -296,7 +296,7 @@ void Today::draw() {
296 for ( uint i = 0; i < pluginList.count(); i++ ) { 296 for ( uint i = 0; i < pluginList.count(); i++ ) {
297 plugin = pluginList[i]; 297 plugin = pluginList[i];
298 298
299 if ( plugin.active ) { 299 if ( plugin.active ) {
300 // qDebug( plugin.name + " is ACTIVE " ); 300 // qDebug( plugin.name + " is ACTIVE " );
301 plugin.guiBox->show(); 301 plugin.guiBox->show();
302 } else { 302 } else {
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
@@ -30,7 +30,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
30 QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla 30 QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla
31 QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon 31 QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon
32 32
33 layout = new QVBoxLayout( this ); 33 layout = 0L;
34 34
35 QPalette pal = this->palette(); 35 QPalette pal = this->palette();
36 QColor col = pal.color( QPalette::Active, QColorGroup::Background ); 36 QColor col = pal.color( QPalette::Active, QColorGroup::Background );
@@ -53,9 +53,11 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
53 Frame->setFrameShape( QFrame::StyledPanel ); 53 Frame->setFrameShape( QFrame::StyledPanel );
54 Frame->setFrameShadow( QFrame::Raised ); 54 Frame->setFrameShadow( QFrame::Raised );
55 Frame->setLineWidth( 0 ); 55 Frame->setLineWidth( 0 );
56 Frame->setMaximumHeight( 50 );
56 57
57 QHBoxLayout *frameLayout = new QHBoxLayout( Frame ); 58 QHBoxLayout *frameLayout = new QHBoxLayout( Frame );
58 QVBox *box1 = new QVBox( Frame ); 59 QVBox *box1 = new QVBox( Frame );
60 box1->setMinimumWidth( 100 );
59 // Today text 61 // Today text
60 TodayLabel = new QLabel( box1, "TodayText" ); 62 TodayLabel = new QLabel( box1, "TodayText" );
61 QFont TodayLabel_font( TodayLabel->font() ); 63 QFont TodayLabel_font( TodayLabel->font() );