Improve coding style

This commit is contained in:
Martchus 2021-07-03 20:04:31 +02:00
parent e2110e73ba
commit 5da3cae040
2 changed files with 2 additions and 3 deletions

View File

@ -240,6 +240,6 @@ void FfmpegLauncher::ffmpegError()
void FfmpegLauncher::ffmpegFinished(int exitCode) void FfmpegLauncher::ffmpegFinished(int exitCode)
{ {
cerr << "FFmpeg finished with exit code " << exitCode << endl; cerr << "FFmpeg finished with exit code " << exitCode << '\n';
} }
} // namespace DBusSoundRecorder } // namespace DBusSoundRecorder

View File

@ -15,8 +15,7 @@ namespace DBusSoundRecorder {
inline ostream &operator<<(ostream &stream, const QString &str) inline ostream &operator<<(ostream &stream, const QString &str)
{ {
stream << str.toLocal8Bit().data(); return stream << str.toLocal8Bit().data();
return stream;
} }
PlayerWatcher::PlayerWatcher(const QString &appName, bool ignorePlaybackStatus, QObject *parent) PlayerWatcher::PlayerWatcher(const QString &appName, bool ignorePlaybackStatus, QObject *parent)