[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/klipper
From: Esben Mose Hansen <kde () mosehansen ! dk>
Date: 2005-02-27 19:17:45
Message-ID: 20050227191745.160ED148A2 () office ! kde ! org
[Download RAW message or body]
CVS commit by esben:
Only popup action selection if the clipboard item is different from the last.
BUGS: 94330
M +7 -3 toplevel.cpp 1.173
--- kdebase/klipper/toplevel.cpp #1.172:1.173
@@ -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