From f472e44e771699583c718ae98896f2a0b8e7c96b Mon Sep 17 00:00:00 2001 From: Vladslav P Date: Sat, 29 Jul 2023 02:20:02 +0300 Subject: [PATCH] multi_vfo: improve Qt6 compatibility --- src/applications/gqrx/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/gqrx/mainwindow.cpp b/src/applications/gqrx/mainwindow.cpp index 59eb20a94..2553973d6 100644 --- a/src/applications/gqrx/mainwindow.cpp +++ b/src/applications/gqrx/mainwindow.cpp @@ -944,7 +944,7 @@ void MainWindow::storeSession() m_settings->beginGroup("audio"); } if (rx->get_audio_rec_dir() != QDir::homePath().toStdString()) - m_settings->setValue("rec_dir", rx->get_audio_rec_dir().data()); + m_settings->setValue("rec_dir", QString::fromStdString(rx->get_audio_rec_dir())); else m_settings->remove("rec_dir");