-rw-r--r-- | core/launcher/qcopbridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/qcopbridge.cpp b/core/launcher/qcopbridge.cpp index b45f0cc..9bca360 100644 --- a/core/launcher/qcopbridge.cpp +++ b/core/launcher/qcopbridge.cpp | |||
@@ -156,25 +156,25 @@ void QCopBridge::desktopMessage( const QCString &command, const QByteArray &data | |||
156 | // we need to buffer it a bit | 156 | // we need to buffer it a bit |
157 | sendSync = TRUE; | 157 | sendSync = TRUE; |
158 | startTimer( 20000 ); | 158 | startTimer( 20000 ); |
159 | } | 159 | } |
160 | 160 | ||
161 | if ( m_mode & Qtopia1_7 ) { | 161 | if ( m_mode & Qtopia1_7 ) { |
162 | // send the command to all open connections | 162 | // send the command to all open connections |
163 | QCopBridgePI *pi; | 163 | QCopBridgePI *pi; |
164 | for ( pi = openConnections.first(); pi != 0; pi = openConnections.next() ) { | 164 | for ( pi = openConnections.first(); pi != 0; pi = openConnections.next() ) { |
165 | pi->sendDesktopMessage( command, data ); | 165 | pi->sendDesktopMessage( command, data ); |
166 | } | 166 | } |
167 | } | 167 | } |
168 | if ( m_mode & Sharp ) | 168 | if ( ( m_mode & Sharp ) || (m_mode & IntelliSync) ) |
169 | sendDesktopMessageOld( command, data ); | 169 | sendDesktopMessageOld( command, data ); |
170 | } | 170 | } |
171 | 171 | ||
172 | #ifndef OPIE_NO_OLD_SYNC_CODE | 172 | #ifndef OPIE_NO_OLD_SYNC_CODE |
173 | /* | 173 | /* |
174 | * Old compat mode | 174 | * Old compat mode |
175 | */ | 175 | */ |
176 | void QCopBridge::sendDesktopMessageOld( const QCString& command, const QByteArray& args) { | 176 | void QCopBridge::sendDesktopMessageOld( const QCString& command, const QByteArray& args) { |
177 | command.stripWhiteSpace(); | 177 | command.stripWhiteSpace(); |
178 | 178 | ||
179 | int paren = command.find( "(" ); | 179 | int paren = command.find( "(" ); |
180 | if ( paren <= 0 ) { | 180 | if ( paren <= 0 ) { |