From 0f726c30f5f11990d325bc5e55015c42c80cd9d2 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 1 Dec 2017 22:16:24 +0400 Subject: fixed code style on all source files (*.c *.cpp *.h) using astyle --style=allman --lineend=linux --indent=tab --pad-oper --- pica-client/sound.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pica-client/sound.cpp') diff --git a/pica-client/sound.cpp b/pica-client/sound.cpp index 3762c0e..0db4521 100644 --- a/pica-client/sound.cpp +++ b/pica-client/sound.cpp @@ -21,19 +21,19 @@ Sound::Sound() void Sound::mute(bool yes) { - is_muted = yes; + is_muted = yes; } void Sound::play(const QString sndfile) { - if (is_muted) - return; + if (is_muted) + return; #if defined(__gnu_linux__) - QProcess::execute("aplay -q " + sndfile); + QProcess::execute("aplay -q " + sndfile); #endif #if defined(WIN32) - sndPlaySound(sndfile.toAscii().constData(), SND_ASYNC | SND_NODEFAULT); + sndPlaySound(sndfile.toAscii().constData(), SND_ASYNC | SND_NODEFAULT); #endif #if defined(__APPLE__) QProcess::execute("/usr/bin/afplay " + sndfile); -- cgit v1.2.1