mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-14 08:01:46 -05:00
Move config load out of commandline parse to prevent wrong path in AppImage
This commit is contained in:
parent
dcdacb0cf7
commit
1f188a3c4b
@ -200,6 +200,8 @@ public:
|
|||||||
|
|
||||||
CubicSDR::CubicSDR() : frequency(0), offset(0), ppm(0), snap(1), sampleRate(DEFAULT_SAMPLE_RATE), agcMode(false)
|
CubicSDR::CubicSDR() : frequency(0), offset(0), ppm(0), snap(1), sampleRate(DEFAULT_SAMPLE_RATE), agcMode(false)
|
||||||
{
|
{
|
||||||
|
config.load();
|
||||||
|
|
||||||
sampleRateInitialized.store(false);
|
sampleRateInitialized.store(false);
|
||||||
agcMode.store(true);
|
agcMode.store(true);
|
||||||
soloMode.store(false);
|
soloMode.store(false);
|
||||||
@ -551,8 +553,6 @@ bool CubicSDR::OnCmdLineParsed(wxCmdLineParser& parser) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
config.load();
|
|
||||||
|
|
||||||
#ifdef BUNDLE_SOAPY_MODS
|
#ifdef BUNDLE_SOAPY_MODS
|
||||||
if (parser.Found("b")) {
|
if (parser.Found("b")) {
|
||||||
useLocalMod.store(false);
|
useLocalMod.store(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user