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; }