Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/8/head
Michele Calgaro 9 months ago
parent d9952f8283
commit 1870af92b6
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