1
0
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:
Jon Beniston 2022-09-18 16:53:35 +01:00
parent 77f825d980
commit 042b1f0783
2 changed files with 2 additions and 2 deletions

View File

@ -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"))
{

View File

@ -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>