summaryrefslogtreecommitdiff
path: root/core/pim/today
Side-by-side diff
Diffstat (limited to 'core/pim/today') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp4
-rw-r--r--core/pim/today/todaybase.cpp2
2 files changed, 2 insertions, 4 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 901a61a..7673df5 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -222,16 +222,16 @@ void Today::draw() {
uint count = 0;
TodayPlugin plugin;
for ( uint i = 0; i < pluginList.count(); i++ ) {
plugin = pluginList[i];
if ( plugin.active ) {
- qDebug( plugin.name + " is ACTIVE " );
+ // qDebug( plugin.name + " is ACTIVE " );
plugin.guiBox->show();
} else {
- qDebug( plugin.name + " is INACTIVE" );
+ // qDebug( plugin.name + " is INACTIVE" );
plugin.guiBox->hide();
}
count++;
}
if ( count == 0 ) {
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index 800ca5d..1424b95 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -31,14 +31,12 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo
QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla
QPixmap config = Resource::loadPixmap( "today/config" ); // config icon
layout = new QVBoxLayout( this );
- QVBoxLayout *mainLayout = new QVBoxLayout( this );
-
QPalette pal = this->palette();
QColor col = pal.color( QPalette::Active, QColorGroup::Background );
pal.setColor( QPalette::Active, QColorGroup::Button, col );
pal.setColor( QPalette::Inactive, QColorGroup::Button, col );
pal.setColor( QPalette::Normal, QColorGroup::Button, col );
pal.setColor( QPalette::Disabled, QColorGroup::Button, col );