diff options
Diffstat (limited to 'korganizer/urihandler.cpp')
-rw-r--r-- | korganizer/urihandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/urihandler.cpp b/korganizer/urihandler.cpp index 7caad0e34..a9eb31ba9 100644 --- a/korganizer/urihandler.cpp +++ b/korganizer/urihandler.cpp @@ -80,10 +80,10 @@ bool UriHandler::process( TQWidget *tqparent, const TQString &uri ) kapp->startServiceByDesktopPath("kmail"); // parse string, show - int colon = uri.tqfind( ':' ); + int colon = uri.find( ':' ); // extract 'number' from 'kmail:<number>/<id>' TQString serialNumberStr = uri.mid( colon + 1 ); - serialNumberStr = serialNumberStr.left( serialNumberStr.tqfind( '/' ) ); + serialNumberStr = serialNumberStr.left( serialNumberStr.find( '/' ) ); KMailIface_stub kmailIface( "kmail", "KMailIface" ); kmailIface.showMail( serialNumberStr.toUInt(), TQString() ); |