-rw-r--r-- | core/applets/obex/obeximpl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/applets/obex/obeximpl.cc b/core/applets/obex/obeximpl.cc index 7331bba..88f2d44 100644 --- a/core/applets/obex/obeximpl.cc +++ b/core/applets/obex/obeximpl.cc | |||
@@ -124,27 +124,27 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { | |||
124 | if ( exec.isEmpty() || exec == "" ) { | 124 | if ( exec.isEmpty() || exec == "" ) { |
125 | qWarning("empty"); | 125 | qWarning("empty"); |
126 | if ( fileName.right(4) == ".vcf" ) | 126 | if ( fileName.right(4) == ".vcf" ) |
127 | exec = "addressbook"; | 127 | exec = "addressbook"; |
128 | else if ( fileName.right(4) == ".vcs" ) { | 128 | else if ( fileName.right(4) == ".vcs" ) { |
129 | exec = "datebook"; | 129 | exec = "datebook"; |
130 | } | 130 | } |
131 | } // now prompt and then add it | 131 | } // now prompt and then add it |
132 | 132 | ||
133 | m_recvgui->PixmapLabel->setPixmap( lnk.pixmap() ); | 133 | m_recvgui->PixmapLabel->setPixmap( lnk.pixmap() ); |
134 | m_recvgui->AppLabel->setText( "<b>" + exec + "<b>" ); | 134 | m_recvgui->AppLabel->setText( "<b>" + exec + "<b>" ); |
135 | m_recvgui->FileLabel->setText( lnk.name() ); | 135 | m_recvgui->FileLabel->setText( lnk.name() ); |
136 | m_recvgui->showMaximized(); | 136 | // m_recvgui->showMaximized(); |
137 | if( m_recvgui->exec() != -1 ) { | 137 | // if( m_recvgui->exec() == 0 ) { |
138 | QCString str= "QPE/Application/"; | 138 | QCString str= "QPE/Application/"; |
139 | str += exec.latin1(); | 139 | str += exec.latin1(); |
140 | qWarning("channel %s", str.data() ); | 140 | qWarning("channel %s", str.data() ); |
141 | QCopEnvelope e(str , "setDocument(QString)" ); | 141 | QCopEnvelope e(str , "setDocument(QString)" ); |
142 | e << fileName; | 142 | e << fileName; |
143 | } | 143 | //} |
144 | } | 144 | } |
145 | 145 | ||
146 | 146 | ||
147 | 147 | ||
148 | Q_EXPORT_INTERFACE() { | 148 | Q_EXPORT_INTERFACE() { |
149 | Q_CREATE_INSTANCE( ObexImpl ) | 149 | Q_CREATE_INSTANCE( ObexImpl ) |
150 | } | 150 | } |