mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-13 20:01:46 -05:00
Main window: load plugins later so that messages can appear in the log file
This commit is contained in:
parent
ed3d855434
commit
a77fa23997
@ -147,9 +147,6 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
|
|||||||
"QTabWidget::pane { border: 1px solid #808080; } "
|
"QTabWidget::pane { border: 1px solid #808080; } "
|
||||||
"QTabBar::tab:selected { background: rgb(100,100,100); }");
|
"QTabBar::tab:selected { background: rgb(100,100,100); }");
|
||||||
|
|
||||||
m_pluginManager = new PluginManager(this);
|
|
||||||
m_pluginManager->loadPlugins(QString("plugins"));
|
|
||||||
|
|
||||||
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleMessages()), Qt::QueuedConnection);
|
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleMessages()), Qt::QueuedConnection);
|
||||||
|
|
||||||
connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus()));
|
connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus()));
|
||||||
@ -161,6 +158,11 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
|
|||||||
|
|
||||||
loadSettings();
|
loadSettings();
|
||||||
|
|
||||||
|
qDebug() << "MainWindow::MainWindow: load plugins...";
|
||||||
|
|
||||||
|
m_pluginManager = new PluginManager(this);
|
||||||
|
m_pluginManager->loadPlugins(QString("plugins"));
|
||||||
|
|
||||||
qDebug() << "MainWindow::MainWindow: select SampleSource from settings or default (file source) ...";
|
qDebug() << "MainWindow::MainWindow: select SampleSource from settings or default (file source) ...";
|
||||||
|
|
||||||
int deviceIndex = DeviceEnumerator::instance()->getRxSamplingDeviceIndex(m_settings.getSourceDeviceId(), m_settings.getSourceIndex());
|
int deviceIndex = DeviceEnumerator::instance()->getRxSamplingDeviceIndex(m_settings.getSourceDeviceId(), m_settings.getSourceIndex());
|
||||||
|
Loading…
Reference in New Issue
Block a user