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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/krusader/BookMan/krbookmarkhandler.cpp b/krusader/BookMan/krbookmarkhandler.cpp
index ac5ffdd..8b5b88a 100644
--- a/krusader/BookMan/krbookmarkhandler.cpp
+++ b/krusader/BookMan/krbookmarkhandler.cpp
@@ -431,11 +431,11 @@ void KrBookmarkHandler::bookmarksChanged(const TQString&, const TQString&) {
bool KrBookmarkHandler::eventFilter( TQObject *obj, TQEvent *ev ) {
if (ev->type() == TQEvent::MouseButtonRelease) {
- switch (TQT_TQMOUSEEVENT(ev)->button()) {
+ switch (static_cast<TQMouseEvent*>(ev)->button()) {
case TQt::RightButton:
_middleClick = false;
if( obj->inherits( "TQPopupMenu" ) ) {
- int id = static_cast<TQPopupMenu*>(TQT_TQWIDGET(obj))->idAt( TQT_TQMOUSEEVENT(ev)->pos() );
+ int id = static_cast<TQPopupMenu*>(TQT_TQWIDGET(obj))->idAt( static_cast<TQMouseEvent*>(ev)->pos() );
if( obj == _mainBookmarkPopup && _specialBookmarkIDs.contains( id ) ) {
rightClickOnSpecialBookmark();