summaryrefslogtreecommitdiffstats
path: root/krusader/BookMan/krbookmarkhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krusader/BookMan/krbookmarkhandler.cpp')
-rw-r--r--krusader/BookMan/krbookmarkhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/krusader/BookMan/krbookmarkhandler.cpp b/krusader/BookMan/krbookmarkhandler.cpp
index 51044f4..42c9770 100644
--- a/krusader/BookMan/krbookmarkhandler.cpp
+++ b/krusader/BookMan/krbookmarkhandler.cpp
@@ -437,7 +437,7 @@ bool KrBookmarkHandler::eventFilter( TQObject *obj, TQEvent *ev ) {
if( obj->inherits( "TQPopupMenu" ) ) {
int id = static_cast<TQPopupMenu*>(TQT_TQWIDGET(obj))->idAt( TQT_TQMOUSEEVENT(ev)->pos() );
- if( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(_mainBookmarkPopup) && _specialBookmarkIDs.contains( id ) ) {
+ if( obj == _mainBookmarkPopup && _specialBookmarkIDs.contains( id ) ) {
rightClickOnSpecialBookmark();
return true;
}