Commented out debug print statements for Qt window closure.
This commit is contained in:
parent
2ded6783f3
commit
97465f0266
|
@ -148,7 +148,7 @@ AviRiffViewerDialog::AviRiffViewerDialog(QWidget *parent)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
AviRiffViewerDialog::~AviRiffViewerDialog(void)
|
AviRiffViewerDialog::~AviRiffViewerDialog(void)
|
||||||
{
|
{
|
||||||
printf("Destroy AVI RIFF Viewer Window\n");
|
//printf("Destroy AVI RIFF Viewer Window\n");
|
||||||
|
|
||||||
if ( avi )
|
if ( avi )
|
||||||
{
|
{
|
||||||
|
@ -158,7 +158,7 @@ AviRiffViewerDialog::~AviRiffViewerDialog(void)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void AviRiffViewerDialog::closeEvent(QCloseEvent *event)
|
void AviRiffViewerDialog::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("AVI RIFF Viewer Window Event\n");
|
//printf("AVI RIFF Viewer Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -288,13 +288,13 @@ ConsoleSndConfDialog_t::ConsoleSndConfDialog_t(QWidget *parent)
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
ConsoleSndConfDialog_t::~ConsoleSndConfDialog_t(void)
|
ConsoleSndConfDialog_t::~ConsoleSndConfDialog_t(void)
|
||||||
{
|
{
|
||||||
printf("Destroy Sound Config Window\n");
|
//printf("Destroy Sound Config Window\n");
|
||||||
updateTimer->stop();
|
updateTimer->stop();
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void ConsoleSndConfDialog_t::closeEvent(QCloseEvent *event)
|
void ConsoleSndConfDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("Sound Config Close Window Event\n");
|
//printf("Sound Config Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -534,14 +534,14 @@ ConsoleVideoConfDialog_t::ConsoleVideoConfDialog_t(QWidget *parent)
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
ConsoleVideoConfDialog_t::~ConsoleVideoConfDialog_t(void)
|
ConsoleVideoConfDialog_t::~ConsoleVideoConfDialog_t(void)
|
||||||
{
|
{
|
||||||
printf("Destroy Video Config Window\n");
|
//printf("Destroy Video Config Window\n");
|
||||||
|
|
||||||
updateTimer->stop();
|
updateTimer->stop();
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void ConsoleVideoConfDialog_t::closeEvent(QCloseEvent *event)
|
void ConsoleVideoConfDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("Video Config Close Window Event\n");
|
//printf("Video Config Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -994,7 +994,7 @@ void FKBConfigDialog::toggleFamilyKeyboardEnable(void)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void FKBConfigDialog::closeEvent(QCloseEvent *event)
|
void FKBConfigDialog::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("FKB Config Close Window Event\n");
|
//printf("FKB Config Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -935,7 +935,7 @@ void GamePadConfDialog_t::closeEvent(QCloseEvent *event)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("GamePad Close Window Event\n");
|
//printf("GamePad Close Window Event\n");
|
||||||
buttonConfigStatus = 0;
|
buttonConfigStatus = 0;
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
|
@ -959,7 +959,7 @@ void GamePadConfDialog_t::closeWindow(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Close Window\n");
|
//printf("Close Window\n");
|
||||||
buttonConfigStatus = 0;
|
buttonConfigStatus = 0;
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
|
|
|
@ -263,12 +263,12 @@ GuiConfDialog_t::GuiConfDialog_t(QWidget *parent)
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
GuiConfDialog_t::~GuiConfDialog_t(void)
|
GuiConfDialog_t::~GuiConfDialog_t(void)
|
||||||
{
|
{
|
||||||
printf("Destroy GUI Config Close Window\n");
|
//printf("Destroy GUI Config Close Window\n");
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void GuiConfDialog_t::closeEvent(QCloseEvent *event)
|
void GuiConfDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("GUI Config Close Window Event\n");
|
//printf("GUI Config Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -104,12 +104,12 @@ HotKeyConfDialog_t::HotKeyConfDialog_t(QWidget *parent)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
HotKeyConfDialog_t::~HotKeyConfDialog_t(void)
|
HotKeyConfDialog_t::~HotKeyConfDialog_t(void)
|
||||||
{
|
{
|
||||||
printf("Destroy Hot Key Config Window\n");
|
//printf("Destroy Hot Key Config Window\n");
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void HotKeyConfDialog_t::closeEvent(QCloseEvent *event)
|
void HotKeyConfDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("Hot Key Close Window Event\n");
|
//printf("Hot Key Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -259,7 +259,7 @@ InputConfDialog_t::InputConfDialog_t(QWidget *parent)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
InputConfDialog_t::~InputConfDialog_t(void)
|
InputConfDialog_t::~InputConfDialog_t(void)
|
||||||
{
|
{
|
||||||
printf("Destroy Input Config Window\n");
|
//printf("Destroy Input Config Window\n");
|
||||||
inputTimer->stop();
|
inputTimer->stop();
|
||||||
|
|
||||||
if (win == this)
|
if (win == this)
|
||||||
|
@ -270,7 +270,7 @@ InputConfDialog_t::~InputConfDialog_t(void)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void InputConfDialog_t::closeEvent(QCloseEvent *event)
|
void InputConfDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("Input Config Close Window Event\n");
|
//printf("Input Config Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -172,12 +172,12 @@ MovieOptionsDialog_t::MovieOptionsDialog_t(QWidget *parent)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
MovieOptionsDialog_t::~MovieOptionsDialog_t(void)
|
MovieOptionsDialog_t::~MovieOptionsDialog_t(void)
|
||||||
{
|
{
|
||||||
printf("Destroy Movie Options Window\n");
|
//printf("Destroy Movie Options Window\n");
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void MovieOptionsDialog_t::closeEvent(QCloseEvent *event)
|
void MovieOptionsDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("Movie Options Close Window Event\n");
|
//printf("Movie Options Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -326,13 +326,13 @@ PaletteConfDialog_t::PaletteConfDialog_t(QWidget *parent)
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
PaletteConfDialog_t::~PaletteConfDialog_t(void)
|
PaletteConfDialog_t::~PaletteConfDialog_t(void)
|
||||||
{
|
{
|
||||||
printf("Destroy Palette Config Window\n");
|
//printf("Destroy Palette Config Window\n");
|
||||||
updateTimer->stop();
|
updateTimer->stop();
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void PaletteConfDialog_t::closeEvent(QCloseEvent *event)
|
void PaletteConfDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("Palette Config Close Window Event\n");
|
//printf("Palette Config Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -530,7 +530,7 @@ RamSearchDialog_t::~RamSearchDialog_t(void)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void RamSearchDialog_t::closeEvent(QCloseEvent *event)
|
void RamSearchDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("RAM Search Close Window Event\n");
|
//printf("RAM Search Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -265,14 +265,14 @@ TimingConfDialog_t::TimingConfDialog_t(QWidget *parent)
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
TimingConfDialog_t::~TimingConfDialog_t(void)
|
TimingConfDialog_t::~TimingConfDialog_t(void)
|
||||||
{
|
{
|
||||||
printf("Destroy Timing Config Window\n");
|
//printf("Destroy Timing Config Window\n");
|
||||||
updateTimer->stop();
|
updateTimer->stop();
|
||||||
saveValues();
|
saveValues();
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void TimingConfDialog_t::closeEvent(QCloseEvent *event)
|
void TimingConfDialog_t::closeEvent(QCloseEvent *event)
|
||||||
{
|
{
|
||||||
printf("Timing Close Window Event\n");
|
//printf("Timing Close Window Event\n");
|
||||||
done(0);
|
done(0);
|
||||||
deleteLater();
|
deleteLater();
|
||||||
event->accept();
|
event->accept();
|
||||||
|
|
|
@ -406,7 +406,7 @@ TraceLoggerDialog_t::~TraceLoggerDialog_t(void)
|
||||||
|
|
||||||
traceLogWindow = NULL;
|
traceLogWindow = NULL;
|
||||||
|
|
||||||
printf("Trace Logger Window Deleted\n");
|
//printf("Trace Logger Window Deleted\n");
|
||||||
}
|
}
|
||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
void TraceLoggerDialog_t::closeEvent(QCloseEvent *event)
|
void TraceLoggerDialog_t::closeEvent(QCloseEvent *event)
|
||||||
|
|
Loading…
Reference in New Issue