From 0cfaf22fc5d8f511320813171be84ce3436990c6 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 11 Jun 2005 15:15:54 +0000 Subject: fixx --- (limited to 'kalarmd') diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp index 37e7d0d..d6e06c8 100644 --- a/kalarmd/simplealarmdaemonimpl.cpp +++ b/kalarmd/simplealarmdaemonimpl.cpp @@ -270,7 +270,7 @@ void SimpleAlarmDaemonImpl::slotPlayBeep( int num ) void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& ) { //qDebug("SimpleAlarmDaemonImpl::ALARM RECEIVED! %s", msg.data()); - QString mess = msg; + QString mess = QString::fromUtf8(msg.data()); mAlarmMessage = mess.mid( 9 ); QString filename = getenv("QPEDIR") ; filename += "/pics/kdepim/korganizer/koalarm.wav"; @@ -622,7 +622,7 @@ void SimpleAlarmDaemonImpl::confTimer( int time ) mRunningTimer = QDateTime::currentDateTime().addSecs( minutes * 60 ); timerMesssage = mess; - AlarmServer::addAlarm ( mRunningTimer,"koalarm",timerMesssage.latin1()); + AlarmServer::addAlarm ( mRunningTimer,"koalarm",timerMesssage.utf8()); mTimerTime = 1; } -- cgit v0.9.0.2