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

List:       kde-commits
Subject:    extragear/sdk/kdevplatform/language/duchain/navigation
From:       David Nolden <david.nolden.kde () art-master ! de>
Date:       2010-04-18 10:11:00
Message-ID: 20100418101100.76DE9AC89C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1115977 by zwabel:

Completely disable the context-menu within the navigation widget. It is completely \
useless there, and can lead to crashes in the completion-list and navigation-tooltip \
                due to the focus-change.
BUG: 234323

 M  +3 -0      abstractnavigationwidget.cpp  


--- trunk/extragear/sdk/kdevplatform/language/duchain/navigation/abstractnavigationwidget.cpp \
#1115976:1115977 @@ -93,6 +93,9 @@
   setLayout(layout);
 
   connect( m_browser, SIGNAL(anchorClicked(const QUrl&)), this, \
SLOT(anchorClicked(const QUrl&)) ); +  
+  foreach(QWidget* w, findChildren<QWidget*>())
+    w->setContextMenuPolicy(Qt::NoContextMenu);
 }
 
 AbstractNavigationWidget::~AbstractNavigationWidget() {


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

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