summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/obex/obeximpl.cc10
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
@@ -121,32 +121,30 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) {
DocLnk lnk( 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->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 )
}