Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 1 year ago committed by TDE Gitea
parent 8ae8e9f8f4
commit 0af1d7236d

@ -292,7 +292,7 @@ void StatPopup::setGrid(bool set) {
void StatPopup::selectColor() { void StatPopup::selectColor() {
// which color? // which color?
int whichDock; 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; return;
if (whichDock < 0 || whichDock >= r.size()) if (whichDock < 0 || whichDock >= r.size())
return; return;

Loading…
Cancel
Save