mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 15:04:38 -04:00
Make the settings location appear in the log and in the about panel of the GUI also
This commit is contained in:
+1
-10
@@ -28,7 +28,6 @@
|
||||
#include <QKeyEvent>
|
||||
#include <QResource>
|
||||
#include <QFontDatabase>
|
||||
#include <QStandardPaths>
|
||||
|
||||
#include <plugin/plugininstancegui.h>
|
||||
#include <plugin/plugininstancegui.h>
|
||||
@@ -100,14 +99,6 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
|
||||
{
|
||||
qDebug() << "MainWindow::MainWindow: start";
|
||||
|
||||
#if QT_VERSION >= 0x050500
|
||||
QString path = QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation);
|
||||
qInfo("MainWindow::MainWindow: settings path: %s", qPrintable(path));
|
||||
#else
|
||||
QString path = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation);
|
||||
qInfo("MainWindow::MainWindow: settings path: %s", qPrintable(path));
|
||||
#endif
|
||||
|
||||
m_instance = this;
|
||||
m_settings.setAudioDeviceManager(m_dspEngine->getAudioDeviceManager());
|
||||
|
||||
@@ -1695,7 +1686,7 @@ void MainWindow::channelAddClicked(bool checked)
|
||||
|
||||
void MainWindow::on_action_About_triggered()
|
||||
{
|
||||
AboutDialog dlg(m_apiHost, m_apiPort, this);
|
||||
AboutDialog dlg(m_apiHost, m_apiPort, m_settings, this);
|
||||
dlg.exec();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user