summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageviewcontroller.cpp')
-rw-r--r--src/gvcore/imageviewcontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/imageviewcontroller.cpp b/src/gvcore/imageviewcontroller.cpp
index 136cdc5..1eefa4d 100644
--- a/src/gvcore/imageviewcontroller.cpp
+++ b/src/gvcore/imageviewcontroller.cpp
@@ -395,7 +395,7 @@ void ImageViewController::slotAutoHide() {
// Only hide cursor if we are not over a dialog
TQWidget* widget = TQT_TQWIDGET(TDEApplication::kApplication()->activeWindow());
- if (!widget || !widget->inherits(TQDIALOG_OBJECT_NAME_STRING)) {
+ if (!widget || !widget->inherits("TQDialog")) {
TQApplication::setOverrideCursor(blankCursor);
d->mCursorHidden=true;
}