From 0cdd57001ae31fc806aafb6ae95b6bb2bdd1eb91 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:46:00 +0900 Subject: [PATCH] Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro (cherry picked from commit 0af1d7236da380917af73f6d9b409c9e0e51a5f5) --- src/statpopup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/statpopup.cpp b/src/statpopup.cpp index e8c3c8f..306d537 100644 --- a/src/statpopup.cpp +++ b/src/statpopup.cpp @@ -292,7 +292,7 @@ void StatPopup::setGrid(bool set) { void StatPopup::selectColor() { // which color? int whichDock; - if (sscanf(TQT_TQOBJECT(const_cast(sender()))->name(), "Color%d", &whichDock) != 1) + if (sscanf(sender()->name(), "Color%d", &whichDock) != 1) return; if (whichDock < 0 || whichDock >= r.size()) return;