From 64124fb30f24092372adb87ca59725c5778b9a59 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 10 Sep 2020 00:34:31 +0200 Subject: [PATCH] Fix fixing the windows build --- plugins/pausemusic/pausemusicplugin-win.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/pausemusic/pausemusicplugin-win.cpp b/plugins/pausemusic/pausemusicplugin-win.cpp index dd15a5965..1cee9de7c 100644 --- a/plugins/pausemusic/pausemusicplugin-win.cpp +++ b/plugins/pausemusic/pausemusicplugin-win.cpp @@ -44,17 +44,17 @@ bool PauseMusicPlugin::receivePacket(const NetworkPacket& np) bool pauseOnlyWhenTalking = config()->getBool(QStringLiteral("conditionTalking"), false); if (pauseOnlyWhenTalking) { - if (np.getString(QStringLiteral("event")) != QLatin1String("talking")) { + if (np.get(QStringLiteral("event")) != QLatin1String("talking")) { return true; } } else { - if (np.getString(QStringLiteral("event")) != QLatin1String("ringing") - && np.getString(QStringLiteral("event")) != QLatin1String("talking")) { + if (np.get(QStringLiteral("event")) != QLatin1String("ringing") + && np.get(QStringLiteral("event")) != QLatin1String("talking")) { return true; } } - bool pauseConditionFulfilled = !np.getBool(QStringLiteral("isCancel")); + bool pauseConditionFulfilled = !np.get(QStringLiteral("isCancel")); bool pause = config()->getBool(QStringLiteral("actionPause"), false); bool mute = config()->getBool(QStringLiteral("actionMute"), true);