Improve coding style
This commit is contained in:
parent
e2110e73ba
commit
5da3cae040
|
@ -240,6 +240,6 @@ void FfmpegLauncher::ffmpegError()
|
|||
|
||||
void FfmpegLauncher::ffmpegFinished(int exitCode)
|
||||
{
|
||||
cerr << "FFmpeg finished with exit code " << exitCode << endl;
|
||||
cerr << "FFmpeg finished with exit code " << exitCode << '\n';
|
||||
}
|
||||
} // namespace DBusSoundRecorder
|
||||
|
|
|
@ -15,8 +15,7 @@ namespace DBusSoundRecorder {
|
|||
|
||||
inline ostream &operator<<(ostream &stream, const QString &str)
|
||||
{
|
||||
stream << str.toLocal8Bit().data();
|
||||
return stream;
|
||||
return stream << str.toLocal8Bit().data();
|
||||
}
|
||||
|
||||
PlayerWatcher::PlayerWatcher(const QString &appName, bool ignorePlaybackStatus, QObject *parent)
|
||||
|
|
Loading…
Reference in New Issue