summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:46:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-15 20:09:08 +0900
commit0cdd57001ae31fc806aafb6ae95b6bb2bdd1eb91 (patch)
treeb9d0e3a4f21e4dea25fa336fadeaabc8e931aed6
parent01edf7bea93ebf13e548fcaafc639e03a6be5d70 (diff)
downloadkcpuload-0cdd57001ae31fc806aafb6ae95b6bb2bdd1eb91.tar.gz
kcpuload-0cdd57001ae31fc806aafb6ae95b6bb2bdd1eb91.zip
Drop TQT_BASE_OBJECT* definesr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0af1d7236da380917af73f6d9b409c9e0e51a5f5)
-rw-r--r--src/statpopup.cpp2
1 files changed, 1 insertions, 1 deletions
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<TQT_BASE_OBJECT_NAME*>(sender()))->name(), "Color%d", &whichDock) != 1)
+ if (sscanf(sender()->name(), "Color%d", &whichDock) != 1)
return;
if (whichDock < 0 || whichDock >= r.size())
return;