From 2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c Mon Sep 17 00:00:00 2001 From: harlekin Date: Sat, 21 Sep 2002 21:15:59 +0000 Subject: code cleanups --- (limited to 'core/pim/today') 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 @@ -193,7 +193,7 @@ void Today::loadPlugins() { } } - if ( !m_allApplets.isEmpty() ) { + if ( !m_allApplets.isEmpty() ) { TodayPlugin tempPlugin; QStringList::Iterator stringit; for( stringit = m_allApplets.begin(); stringit != m_allApplets.end(); ++stringit ) { @@ -225,10 +225,10 @@ void Today::draw() { 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++; 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 @@ -34,8 +34,6 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) 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 ); -- cgit v0.9.0.2