diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-02 21:48:09 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-02 21:48:09 +0000 |
commit | cbecd3a8a71c92976314479c9ce892ee8138da5d (patch) | |
tree | 082c9abc0aab13bcefbe5f3578eb55c6e6964cdb /kwin/workspace.cpp | |
parent | 161e6c2e3ade351f6d1fbed595939c86e397274c (diff) | |
download | tdebase-cbecd3a8a71c92976314479c9ce892ee8138da5d.tar.gz tdebase-cbecd3a8a71c92976314479c9ce892ee8138da5d.zip |
Update kdebase inherits() to use new object name defines instead of string literals
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1226899 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/workspace.cpp')
-rw-r--r-- | kwin/workspace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kwin/workspace.cpp b/kwin/workspace.cpp index 7cb63acd2..ac4fcdc3f 100644 --- a/kwin/workspace.cpp +++ b/kwin/workspace.cpp @@ -1907,7 +1907,7 @@ unsigned int Workspace::sendFakedMouseEvent( TQPoint pos, WId w, MouseEmulation if ( !w ) return state; TQWidget* widget = TQWidget::tqfind( w ); - if ( (!widget || widget->inherits("QToolButton") ) && !findClient( WindowMatchPredicate( w )) ) + if ( (!widget || widget->inherits(TQTOOLBUTTON_OBJECT_NAME_STRING) ) && !findClient( WindowMatchPredicate( w )) ) { int x, y; Window xw; |