From 8e3443dab4d82ceb97635d86e17f5c0e0e74d062 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 11 Jul 2023 20:57:55 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- src/gvcore/imageviewcontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1