mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
Merge pull request #1420 from srcejon/remote_control
Remote Control: Fix Mac build
This commit is contained in:
commit
ea24077e2b
@ -1005,7 +1005,7 @@ void RemoteControlGUI::updateChart(RemoteControlDeviceGUI *deviceGUI, const QStr
|
||||
QString format = sensor->m_format.trimmed();
|
||||
if (format.contains("%s"))
|
||||
{
|
||||
formattedValue = QString::asprintf(format.toUtf8(), value.toString().toUtf8());
|
||||
formattedValue = QString::asprintf(format.toUtf8(), value.toString().toUtf8().data());
|
||||
}
|
||||
else if (format.contains("%d") || format.contains("%u") || format.contains("%x") || format.contains("%X"))
|
||||
{
|
||||
|
@ -16,7 +16,7 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef INCLUDE_FEATURE_PERTESTERWORKER_H_
|
||||
#ifndef INCLUDE_FEATURE_REMOTECONTROLWORKER_H_
|
||||
#define INCLUDE_FEATURE_REMOTECONTROLWORKER_H_
|
||||
|
||||
#include <QObject>
|
||||
|
Loading…
Reference in New Issue
Block a user