mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-09-11 00:25:23 -04:00
Move deviceSelector init startup -> appframe
- Plus some minor static analysis fixes and missing atomic store() for MSVC
This commit is contained in:
+1
-4
@@ -102,9 +102,6 @@ bool CubicSDR::OnInit() {
|
||||
sdrEnum = new SDREnumerator();
|
||||
|
||||
appframe = new AppFrame();
|
||||
deviceSelectorOpen.store(true);
|
||||
deviceSelectorDialog = new SDRDevicesDialog(appframe);
|
||||
deviceSelectorDialog->Show();
|
||||
|
||||
t_SDREnum = new std::thread(&SDREnumerator::threadMain, sdrEnum);
|
||||
|
||||
@@ -199,7 +196,7 @@ void CubicSDR::deviceSelector() {
|
||||
deviceSelectorDialog->SetFocus();
|
||||
return;
|
||||
}
|
||||
deviceSelectorOpen = true;
|
||||
deviceSelectorOpen.store(true);
|
||||
deviceSelectorDialog = new SDRDevicesDialog(appframe);
|
||||
deviceSelectorDialog->Show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user