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