-rw-r--r-- | core/applets/obex/obeximpl.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/core/applets/obex/obeximpl.cc b/core/applets/obex/obeximpl.cc index eb0e67b..7331bba 100644 --- a/core/applets/obex/obeximpl.cc +++ b/core/applets/obex/obeximpl.cc @@ -127,26 +127,24 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { exec = "addressbook"; else if ( fileName.right(4) == ".vcs" ) { exec = "datebook"; } } // now prompt and then add it - m_recvgui->PixmapLabel->setPixmap(lnk.pixmap()); - m_recvgui->AppLabel->setText(lnk.name()); - m_recvgui->FileLabel->setText(fileName); + m_recvgui->PixmapLabel->setPixmap( lnk.pixmap() ); + m_recvgui->AppLabel->setText( "<b>" + exec + "<b>" ); + m_recvgui->FileLabel->setText( lnk.name() ); m_recvgui->showMaximized(); if( m_recvgui->exec() != -1 ) { QCString str= "QPE/Application/"; str += exec.latin1(); qWarning("channel %s", str.data() ); QCopEnvelope e(str , "setDocument(QString)" ); e << fileName; } - } -Q_EXPORT_INTERFACE() -{ +Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( ObexImpl ) } |