All pastes #975366 Raw Edit

Something

public text v1 · immutable
·published 2008-04-07 14:40 UTC
rendered paste body
Index: koeventviewer.cpp
===================================================================
--- koeventviewer.cpp   (wersja 794419)
+++ koeventviewer.cpp   (kopia robocza)
@@ -83,7 +83,8 @@
   if ( uri.startsWith( KDEPIMPROTOCOL_CONTACT ) ||
        uri.startsWith( KDEPIMPROTOCOL_EMAIL ) ||
        uri.startsWith( QString( KDEPIMPROTOCOL_INCIDENCE ).section( ':', 0, 0 ) ) ||
-       uri.startsWith( KDEPIMPROTOCOL_NEWSARTICLE ) ) {
+       uri.startsWith( KDEPIMPROTOCOL_NEWSARTICLE ) ||
+       uri.startsWith( "mailto:" ) ) {
     uri.replace( QRegExp( "^([^:]*:)//" ), "\\1" );
   }