summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-11-27 14:35:21 (UTC)
committer harlekin <harlekin>2002-11-27 14:35:21 (UTC)
commit4d7272423782dc2f9f7dbde36b848f55eb323c79 (patch) (side-by-side diff)
tree93fee7538aca84be74f81406776cec7c6867cc4a
parent5f0c90d4b6972c1ad22ba20b45cd1d3f88298099 (diff)
downloadopie-4d7272423782dc2f9f7dbde36b848f55eb323c79.zip
opie-4d7272423782dc2f9f7dbde36b848f55eb323c79.tar.gz
opie-4d7272423782dc2f9f7dbde36b848f55eb323c79.tar.bz2
fix for bug #494 which is imho a flat style bug
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/today.cpp1
-rw-r--r--core/pim/today/todaybase.cpp4
2 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index e6f8c93..76bd6de 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -83,17 +83,16 @@ void Today::channelReceived( const QCString &msg, const QByteArray & data ) {
QString message;
stream >> message;
setOwnerField( message );
}
}
void Today::setRefreshTimer( int interval ) {
-
disconnect( m_refreshTimer, SIGNAL( timeout() ), this, SLOT( refresh() ) );
// 0 is "never" case
if ( !interval == 0 ) {
connect( m_refreshTimer, SIGNAL( timeout() ), this, SLOT( refresh() ) );
m_refreshTimer->changeInterval( interval );
}
}
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index 12e8411..9a93b56 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -55,17 +55,17 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
Frame->setFrameShape( QFrame::StyledPanel );
Frame->setFrameShadow( QFrame::Raised );
Frame->setLineWidth( 0 );
Frame->setMaximumHeight( 50 );
Frame->setMinimumHeight( 50 );
// Today text
QLabel* TodayLabel = new QLabel( Frame, "TodayText" );
- TodayLabel->setGeometry( QRect( 10, 0, 168, 40 ) );
+ TodayLabel->setGeometry( QRect( 10, 1, 168, 40 ) );
QFont TodayLabel_font( TodayLabel->font() );
TodayLabel_font.setBold( TRUE );
TodayLabel_font.setPointSize( 40 );
TodayLabel->setFont( TodayLabel_font );
TodayLabel->setBackgroundOrigin( QLabel::ParentOrigin );
TodayLabel->setText( "<font color=#FFFFFF>" + tr("Today") +"</font>" );
// date
@@ -87,17 +87,17 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
// Ownerfield
OwnerField = new OClickableLabel( this , "Owner" );
OwnerField->setGeometry( QRect( 0, 0, this->width(), 12 ) );
OwnerField->setAlignment( int (QLabel::AlignTop | QLabel::AlignLeft ) );
OwnerField->setMaximumHeight(12);
// config
ConfigButton = new OClickableLabel ( Frame, "PushButton1" );
- ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 30, 25, 21 ) );
+ ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 29, 25, 20 ) );
ConfigButton->setPixmap( config );
QWhatsThis::add( ConfigButton, tr( "Click here to get to the config dialog" ) );
ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin );
}
/**
* D' tor
*/