[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kdeprint/kdeprintfax
From:       Kurt Pfeifle <kpfeifle () danka ! de>
Date:       2005-02-28 8:40:20
Message-ID: 20050228084020.523B117FF5 () office ! kde ! org
[Download RAW message or body]

CVS commit by pfeifle: 

Allow * character in fax number.
CC-MAIL: 100190-close@bugs.kde.org


  M +2 -2      faxctrl.cpp   1.32


--- kdebase/kdeprint/kdeprintfax/faxctrl.cpp  #1.31:1.32
@@ -61,7 +61,7 @@ static QString stripNumber( const QStrin
         conf->setGroup( "Personal" );
 
-        // removes any non-numeric character, except '+' (hope it's supported by faxing tools)
+        // removes any non-numeric character, except ('+','*') (hope it's supported by faxing tools)
         QString strip_s = s;
-        strip_s.replace( QRegExp( "[^\\d+]" ), "" );
+        strip_s.replace( QRegExp( "[^\\d+*]" ), "" );
         if ( strip_s.find( '+' ) != -1 && conf->readBoolEntry( "ReplaceIntChar", false ) )
                 strip_s.replace( "+", conf->readEntry( "ReplaceIntCharVal" ) );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic