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

List:       kde-commits
Subject:    KDE_3_4_BRANCH: kdebase/klipper
From:       Esben Mose Hansen <kde () mosehansen ! dk>
Date:       2005-02-27 19:19:59
Message-ID: 20050227191959.78CE1148A2 () office ! kde ! org
[Download RAW message or body]

CVS commit by esben: 

Backport fix to bug 94330: Only popup action selectio menu if the current clipboard \
contents are different from the last.

CCBUGS: 94330


  M +7 -3      toplevel.cpp   1.172.2.1


--- kdebase/klipper/toplevel.cpp  #1.172:1.172.2.1
@@ -842,8 +842,12 @@ void KlipperWidget::checkClipData( bool 
         QString text;
         QTextDrag::decode( data, text );
+        const HistoryStringItem* topItem = dynamic_cast<const HistoryStringItem*>( \
history()->first() ); +        if ( !topItem || text != topItem->text() ) {
         if ( myURLGrabber->checkNewData( text ) )
         {
             return; // don't add into the history
         }
+
+        }
     }
 


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

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