Remove bool toggle

creator-widgets
Phil Taylor 2024-01-29 14:44:30 +00:00
rodzic 291a88d880
commit ea43618591
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -5769,19 +5769,19 @@ void wfmain::on_showSettingsBtn_clicked()
void wfmain::on_scopeMainSubBtn_clicked()
{
subScope = !subScope;
queue->add(priorityImmediate,queueItem(funcScopeMainSub,QVariant::fromValue(subScope),false,false));
queue->add(priorityImmediate,queueItem(funcScopeMainSub,QVariant::fromValue(subScope),false));
}
void wfmain::on_scopeDualBtn_toggled(bool en)
{
queue->add(priorityImmediate,queueItem(funcScopeSingleDual,QVariant::fromValue(en),false,false));
queue->add(priorityImmediate,queueItem(funcScopeSingleDual,QVariant::fromValue(en),false));
if (en)
queue->add(priorityImmediate,queueItem(funcScopeMainSub,QVariant::fromValue(false),false,false)); // Set main scope
queue->add(priorityImmediate,queueItem(funcScopeMainSub,QVariant::fromValue(false),false)); // Set main scope
}
void wfmain::on_dualWatchBtn_toggled(bool en)
{
queue->add(priorityImmediate,queueItem(funcVFODualWatch,QVariant::fromValue(en),false,false));
queue->add(priorityImmediate,queueItem(funcVFODualWatch,QVariant::fromValue(en),false));
}
void wfmain::dataModeChanged(modeInfo m)