Improve call buffering, CM handle lifecycle and radio PTT controls
This commit is contained in:
1 parent
752c1f140c
commit
2d21c53b4b
55 files changed
+2060
-496
No files matched your search
@@ -8,6 +8,7 @@
|
||||
#include "audiodevicesettingspage.h"
|
||||
#include "storagesettingspage.h"
|
||||
#include "radiosettingspage.h"
|
||||
#include "ptt_hotkey_manager.h"
|
||||
#include "connmonitorwindow.h"
|
||||
#include "../transport/gui_bridge.h"
|
||||
#include "../../lib/mem.h"
|
||||
@@ -56,6 +57,7 @@ SettingsDialog::SettingsDialog(const QString& configPath, DbManager* db, UtunNod
|
||||
m_categoryList->addItem("Nodes");
|
||||
m_categoryList->addItem("Sound");
|
||||
m_categoryList->addItem("Audio");
|
||||
m_categoryList->addItem("Рация");
|
||||
mainLayout->addWidget(m_categoryList);
|
||||
|
||||
// --- Right panel: stacked pages ---
|
||||
@@ -295,8 +297,8 @@ void SettingsDialog::onSave() {
|
||||
m_storagePage->applyAndSave();
|
||||
m_radioPage->apply();
|
||||
|
||||
/* save radio PTT hotkeys to ui_state */
|
||||
{
|
||||
/* Физические сочетания сохраняем в БД; Wayland-хоткеями владеет системный портал. */
|
||||
if (!PttHotkeyManager::usesPortal()) {
|
||||
const char* key = "radio_ptt_hotkeys";
|
||||
QByteArray val = m_radioPage->hotkeys().join('|').toUtf8();
|
||||
size_t klen = strlen(key), vlen = (size_t)val.size();
|
||||
|
||||
Reference in new issue
Block a user