diff --git a/src/drivers/Qt/ConsoleWindow.cpp b/src/drivers/Qt/ConsoleWindow.cpp index ba487177..11ca2388 100644 --- a/src/drivers/Qt/ConsoleWindow.cpp +++ b/src/drivers/Qt/ConsoleWindow.cpp @@ -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") );