summaryrefslogtreecommitdiffstats
path: root/tdeui/ktoolbarbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/ktoolbarbutton.cpp')
-rw-r--r--tdeui/ktoolbarbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/ktoolbarbutton.cpp b/tdeui/ktoolbarbutton.cpp
index a2d3c27fe..1316081c6 100644
--- a/tdeui/ktoolbarbutton.cpp
+++ b/tdeui/ktoolbarbutton.cpp
@@ -670,7 +670,7 @@ void KToolBarButton::slotClicked()
// emit buttonClicked when the button was clicked while being in an extension popupmenu
if ( d->m_parent && !d->m_parent->rect().contains( geometry().center() ) ) {
- ButtonState state = KApplication::keyboardMouseState();
+ ButtonState state = TDEApplication::keyboardMouseState();
if ( ( state & Qt::MouseButtonMask ) == Qt::NoButton )
state = ButtonState( Qt::LeftButton | state );
emit buttonClicked( d->m_id, state ); // Doesn't work with MidButton