mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Remote Control: Fix Mac build
This commit is contained in:
parent
77f825d980
commit
042b1f0783
@ -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