Browse Source

sdrgui: Initialize configuration FSM

Initialize m_loadConfigurationFSM in the InitFSM constructor.

Found by cppcheck.

Signed-off-by: Robin Getz <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 2 months ago
parent
commit
77969258ef
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 3
      sdrgui/mainwindow.cpp

3
sdrgui/mainwindow.cpp

@ -1226,7 +1226,8 @@ void LoadConfigurationFSM::restoreGeometry() @@ -1226,7 +1226,8 @@ void LoadConfigurationFSM::restoreGeometry()
InitFSM::InitFSM(MainWindow *mainWindow, SDRangelSplash *splash, bool loadDefault, bool showConfigs, QObject *parent) :
MainWindowFSM(mainWindow, parent),
m_splash(splash),
m_showConfigs(showConfigs)
m_showConfigs(showConfigs),
m_loadConfigurationFSM(nullptr)
{
// Create FSM
createStates(2);

Loading…
Cancel
Save