1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-29 19:28:47 -05:00

Merge pull request #1420 from srcejon/remote_control

Remote Control: Fix Mac build
This commit is contained in:
Edouard Griffiths 2022-09-19 07:04:01 +02:00 committed by GitHub
commit ea24077e2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>