Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0af1d7236d)
r14.1.x r14.1.1
Michele Calgaro 1 year ago
parent 01edf7bea9
commit 0cdd57001a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

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

Loading…
Cancel
Save