mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Repair merging issues
This commit is contained in:
parent
22f1ba6a6d
commit
a83b8dc5f6
@ -436,7 +436,7 @@ HamlibTransceiver::HamlibTransceiver (logger_type * logger,
|
|||||||
{
|
{
|
||||||
m_->set_conf ("ptt_type", "RTS");
|
m_->set_conf ("ptt_type", "RTS");
|
||||||
}
|
}
|
||||||
set_conf ("ptt_share", "1");
|
m_->set_conf ("ptt_share", "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
// do this late to allow any configuration option to be overriden
|
// do this late to allow any configuration option to be overriden
|
||||||
@ -457,7 +457,7 @@ HamlibTransceiver::HamlibTransceiver (logger_type * logger,
|
|||||||
|
|
||||||
// m_->rig_->state.obj = this;
|
// m_->rig_->state.obj = this;
|
||||||
|
|
||||||
if (!is_dummy_)
|
if (!m_->is_dummy_)
|
||||||
{
|
{
|
||||||
switch (rig_get_caps_int (m_->model_, RIG_CAPS_PORT_TYPE))
|
switch (rig_get_caps_int (m_->model_, RIG_CAPS_PORT_TYPE))
|
||||||
{
|
{
|
||||||
@ -551,7 +551,7 @@ HamlibTransceiver::HamlibTransceiver (logger_type * logger,
|
|||||||
{
|
{
|
||||||
m_->set_conf ("ptt_type", "RTS");
|
m_->set_conf ("ptt_type", "RTS");
|
||||||
}
|
}
|
||||||
set_conf ("ptt_share", "1");
|
m_->set_conf ("ptt_share", "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make Icom CAT split commands less glitchy
|
// Make Icom CAT split commands less glitchy
|
||||||
@ -606,8 +606,8 @@ void HamlibTransceiver::load_user_settings ()
|
|||||||
auto const& config_list = config.toObject ();
|
auto const& config_list = config.toObject ();
|
||||||
for (auto item = config_list.constBegin (); item != config_list.constEnd (); ++item)
|
for (auto item = config_list.constBegin (); item != config_list.constEnd (); ++item)
|
||||||
{
|
{
|
||||||
set_conf (item.key ().toLocal8Bit ().constData ()
|
m_->set_conf (item.key ().toLocal8Bit ().constData ()
|
||||||
, (*item).toVariant ().toString ().toLocal8Bit ().constData ());
|
, (*item).toVariant ().toString ().toLocal8Bit ().constData ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user