summaryrefslogtreecommitdiffstats
path: root/examples/qtmail/app/readmail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtmail/app/readmail.cpp')
-rw-r--r--examples/qtmail/app/readmail.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qtmail/app/readmail.cpp b/examples/qtmail/app/readmail.cpp
index f7fff61a..4b7e2c26 100644
--- a/examples/qtmail/app/readmail.cpp
+++ b/examples/qtmail/app/readmail.cpp
@@ -228,6 +228,7 @@ void ReadMail::linkClicked(const QUrl &lnk)
// strip leading 'mailto:'
emit sendMessageTo( QMailAddress(str.mid(7)), mail.messageType() );
} else if (mail.messageType() == QMailMessage::System && str.startsWith(QLatin1String("qtopiaservice:"))) {
+ // TODO: This relevant anymore?
int commandPos = str.indexOf( QLatin1String( "::" ) ) + 2;
int argPos = str.indexOf( '?' ) + 1;
QString service = str.mid( 14, commandPos - 16 );