summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-07-11 20:57:55 +0900
committerMichele Calgaro <[email protected]>2023-07-12 17:41:35 +0900
commit1bcda90116dd5e075188a09e6b3cc85cf194c091 (patch)
tree57e7383b3f672c1e715a1723d88ee76e6cc1993e
parent66f152bfff8d863e620bdb358912b9e49d399ce6 (diff)
downloadgwenview-1bcda90116dd5e075188a09e6b3cc85cf194c091.tar.gz
gwenview-1bcda90116dd5e075188a09e6b3cc85cf194c091.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 8e3443dab4d82ceb97635d86e17f5c0e0e74d062)
-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;
}