summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-09-21 21:15:59 (UTC)
committer harlekin <harlekin>2002-09-21 21:15:59 (UTC)
commit2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c (patch) (unidiff)
tree5f302398099f158e8df188420e817017b1acb160
parent023b34ea1584474a0ba625be4b099cb9a2de376c (diff)
downloadopie-2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c.zip
opie-2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c.tar.gz
opie-2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c.tar.bz2
code cleanups
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp6
-rw-r--r--core/pim/today/todaybase.cpp2
2 files changed, 3 insertions, 5 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
@@ -193,7 +193,7 @@ void Today::loadPlugins() {
193 } 193 }
194 } 194 }
195 195
196 if ( !m_allApplets.isEmpty() ) { 196 if ( !m_allApplets.isEmpty() ) {
197 TodayPlugin tempPlugin; 197 TodayPlugin tempPlugin;
198 QStringList::Iterator stringit; 198 QStringList::Iterator stringit;
199 for( stringit = m_allApplets.begin(); stringit != m_allApplets.end(); ++stringit ) { 199 for( stringit = m_allApplets.begin(); stringit != m_allApplets.end(); ++stringit ) {
@@ -225,10 +225,10 @@ void Today::draw() {
225 plugin = pluginList[i]; 225 plugin = pluginList[i];
226 226
227 if ( plugin.active ) { 227 if ( plugin.active ) {
228 qDebug( plugin.name + " is ACTIVE " ); 228 // qDebug( plugin.name + " is ACTIVE " );
229 plugin.guiBox->show(); 229 plugin.guiBox->show();
230 } else { 230 } else {
231 qDebug( plugin.name + " is INACTIVE" ); 231 // qDebug( plugin.name + " is INACTIVE" );
232 plugin.guiBox->hide(); 232 plugin.guiBox->hide();
233 } 233 }
234 count++; 234 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 )
34 34
35 layout = new QVBoxLayout( this ); 35 layout = new QVBoxLayout( this );
36 36
37 QVBoxLayout *mainLayout = new QVBoxLayout( this );
38
39 QPalette pal = this->palette(); 37 QPalette pal = this->palette();
40 QColor col = pal.color( QPalette::Active, QColorGroup::Background ); 38 QColor col = pal.color( QPalette::Active, QColorGroup::Background );
41 pal.setColor( QPalette::Active, QColorGroup::Button, col ); 39 pal.setColor( QPalette::Active, QColorGroup::Button, col );