summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/simplealarmdaemonimpl.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp
index eff96eb..2acfacf 100644
--- a/kalarmd/simplealarmdaemonimpl.cpp
+++ b/kalarmd/simplealarmdaemonimpl.cpp
@@ -70,3 +70,7 @@ SimpleAlarmDaemonImpl::SimpleAlarmDaemonImpl( QWidget *parent )
QFont fon = mTimerPopUp->font();
- fon.setPointSize( fon.pointSize() *3/2 );
+ int points = 16;
+ if ( QApplication::desktop()->width() < 480 )
+ points = 12;
+ fon.setPointSize( points );
+ //qDebug("point s %d ", fon.pointSize());
mTimerPopUp->setFont( fon );
@@ -314,5 +318,2 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& )
} else {
- {
- QCopEnvelope e("QPE/Application/kopi", "-writeFileSilent");
- }
//qDebug("-----system command %s ",tempfilename.latin1() );
@@ -322,2 +323,3 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& )
}
+ QTimer::singleShot( 10000, this, SLOT ( writeFile() ) );
return;
@@ -347,3 +349,3 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& )
- writeFile();
+ QTimer::singleShot( 10000, this, SLOT ( writeFile() ) );
startAlarm( mAlarmMessage, filename );
@@ -650,3 +652,3 @@ void SimpleAlarmDaemonImpl::simulate()
{
- writeFile();
+ QTimer::singleShot( 10000, this, SLOT ( writeFile() ) );
QString filename = getenv("QPEDIR") ;