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

List:       kde-commits
Subject:    KDE/kdebase/workspace/klipper
From:       Esben Mose Hansen <kde () mosehansen ! dk>
Date:       2009-11-22 11:43:21
Message-ID: 1258890201.077573.19405.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1052731 by esben:

Trim before invoking action was broken

 M  +2 -2      urlgrabber.cpp  


--- trunk/KDE/kdebase/workspace/klipper/urlgrabber.cpp #1052730:1052731
@@ -188,7 +188,7 @@
 {
     QString text(m_myClipItem->text());
     if (m_trimmed) {
-        text.trimmed();
+        text = text.trimmed();
     }
     ActionList matchingActionsList = matchingActions( text, automatically_invoked );
 
@@ -288,7 +288,7 @@
     if ( command.isEnabled ) {
         QString text(m_myClipItem->text());
         if (m_trimmed) {
-            text.trimmed();
+            text = text.trimmed();
         }
         ClipCommandProcess* proc = new ClipCommandProcess(*action, command, text, \
m_history, m_myClipItem);  if (proc->program().isEmpty()) {


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

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