Added AVI debug as an optional compile time setting to Qt GUI.
This commit is contained in:
parent
1c6a08e868
commit
934437dddc
|
@ -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") );
|
||||
|
|
Loading…
Reference in New Issue