summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-09-21 21:15:59 (UTC)
committer harlekin <harlekin>2002-09-21 21:15:59 (UTC)
commit2e6dd40a0ba17ccf5503fa02bec810b0eeb82f8c (patch) (side-by-side diff)
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
@@ -192,9 +192,9 @@ void Today::loadPlugins() {
delete lib;
}
}
- if ( !m_allApplets.isEmpty() ) {
+ if ( !m_allApplets.isEmpty() ) {
TodayPlugin tempPlugin;
QStringList::Iterator stringit;
for( stringit = m_allApplets.begin(); stringit != m_allApplets.end(); ++stringit ) {
tempPlugin = ( tempList.find( *stringit ) ).data();
@@ -224,12 +224,12 @@ void Today::draw() {
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++;
}
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
@@ -33,10 +33,8 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
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 );