Added AVI debug as an optional compile time setting to Qt GUI.

This commit is contained in:
mjbudd77 2021-08-31 20:47:48 -04:00
parent 1c6a08e868
commit 934437dddc
1 changed files with 11 additions and 8 deletions

View File

@ -1765,14 +1765,17 @@ void consoleWin_t::createMainMenu(void)
aviMenu->addAction(stopAviAct);
//// Movie -> Avi Recording -> Debug
//act = new QAction(tr("&Debug"), this);
////act->setShortcut( QKeySequence(tr("Shift+F5")));
//act->setStatusTip(tr("AVI Debug"));
////act->setIcon( style()->standardIcon( QStyle::SP_MediaStop ) );
//connect(act, SIGNAL(triggered()), this, SLOT(aviDebugFile(void)) );
//
//aviMenu->addAction(act);
//#define AVI_DEBUG
#ifdef AVI_DEBUG
// Movie -> Avi Recording -> Debug
act = new QAction(tr("&Debug"), this);
//act->setShortcut( QKeySequence(tr("Shift+F5")));
act->setStatusTip(tr("AVI Debug"));
//act->setIcon( style()->standardIcon( QStyle::SP_MediaStop ) );
connect(act, SIGNAL(triggered()), this, SLOT(aviDebugFile(void)) );
aviMenu->addAction(act);
#endif
// Movie -> Avi Recording -> Video Format
subMenu = aviMenu->addMenu( tr("Video Format") );