-rw-r--r-- | core/applets/obex/obeximpl.cc | 8 |
1 files changed, 3 insertions, 5 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 @@ -122,31 +122,29 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { QString exec = lnk.exec(); qWarning("executing %s", exec.latin1() ); if ( exec.isEmpty() || exec == "" ) { qWarning("empty"); if ( fileName.right(4) == ".vcf" ) 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->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 ) } |