• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得windowscocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revision2586ba58121398ec4923b07734079d16a119bfc3 (tree)
Zeit2014-04-05 17:52:27
Autorjakago <jakago777@gmai...>
Commiterjakago

Log Message

詳細なメッセージを無効に

Ändern Zusammenfassung

Diff

--- a/downloadthread.cpp
+++ b/downloadthread.cpp
@@ -59,6 +59,7 @@
5959 #define OriginalFormat "ts"
6060 #define FilterOption "-bsf:a aac_adtstoasc"
6161 #define CancelCheckTimeOut 500 // msec
62+#define DebugLog(s) if ( ui->checkBox_detailed_message->isChecked() ) {emit information((s));}
6263
6364 //--------------------------------------------------------------------------------
6465 QString DownloadThread::prefix = "http://cgi2.nhk.or.jp/gogaku/st/xml/";
@@ -558,6 +559,7 @@ bool DownloadThread::captureStream( QString kouza, QString hdate, QString file )
558559 QString commandFfmpeg = ffmpegHash[extension]
559560 .arg( ffmpeg, file, dstPath, id3tagTitle, kouza, QString::number( year ) );
560561 //qDebug() << commandFfmpeg;
562+ //DebugLog( commandFfmpeg );
561563 QProcess process;
562564 process.start( commandFfmpeg );
563565 if ( !process.waitForStarted( -1 ) ) {
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -382,6 +382,9 @@
382382 <layout class="QHBoxLayout" name="horizontalLayout_28">
383383 <item>
384384 <widget class="QCheckBox" name="checkBox_detailed_message">
385+ <property name="enabled">
386+ <bool>false</bool>
387+ </property>
385388 <property name="text">
386389 <string>詳細なメッセージ</string>
387390 </property>