summaryrefslogtreecommitdiff
path: root/core/applets/obex/obeximpl.cc
Side-by-side diff
Diffstat (limited to 'core/applets/obex/obeximpl.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/obex/obeximpl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/applets/obex/obeximpl.cc b/core/applets/obex/obeximpl.cc
index 7df933a..da47e5b 100644
--- a/core/applets/obex/obeximpl.cc
+++ b/core/applets/obex/obeximpl.cc
@@ -117,25 +117,26 @@ 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->TextLabel1_2->setText(lnk.name());
+ m_recvgui->AppLabel->setText(lnk.name());
+ m_recvgui->FileLabel->setText(fileName);
m_recvgui->showMaximized();
QCString str= "QPE/Application/";
str += exec.latin1();
qWarning("channel %s", str.data() );
QCopEnvelope e(str , "setDocument(QString)" );
e << fileName;
}
Q_EXPORT_INTERFACE()