Changeset 163 for smplayer/vendor/current/src/myprocess.cpp
- Timestamp:
- May 15, 2014, 7:53:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/myprocess.cpp
r140 r163 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 3Ricardo Villalba <rvm@users.sourceforge.net>2 Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 18 18 19 19 #include "myprocess.h" 20 #include <QDebug> 20 21 21 22 #ifdef Q_OS_WIN … … 159 160 160 161 #if !USE_TEMP_FILE 161 qDebug( "MyProcess::procFinished: Bytes available: %ld", bytesAvailable());162 qDebug() << "MyProcess::procFinished: Bytes available: " << bytesAvailable(); 162 163 if ( bytesAvailable() > 0 ) readStdOut(); 163 164 #else 164 165 timer.stop(); 165 166 166 qDebug( "MyProcess::procFinished: Bytes available: %ld", temp_file.bytesAvailable());167 qDebug() << "MyProcess::procFinished: Bytes available: " << temp_file.bytesAvailable(); 167 168 if ( temp_file.bytesAvailable() > 0 ) readTmpFile(); 168 qDebug( "MyProcess::procFinished: Bytes available: %ld", temp_file.bytesAvailable());169 qDebug() << "MyProcess::procFinished: Bytes available:" << temp_file.bytesAvailable(); 169 170 170 171 temp_file.close();
Note:
See TracChangeset
for help on using the changeset viewer.