adds a better debug output function should clean up a lot of 'statement has no effect' warnings

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@114 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2009-09-02 22:42:11 +00:00
committed by virtuoussin13
parent 965ff791c3
commit 0b9132b0f0
5 changed files with 36 additions and 28 deletions

View File

@ -163,11 +163,11 @@ void LayoutEdit::windowActivationChange( bool oldActive ) {
QHashIterator<int, JoyPad*> it( available );
while (it.hasNext())
{
DEBUG("iterating and releasing\n");
debug_mesg("iterating and releasing\n");
it.next();
it.value()->release();
}
DEBUG("done releasing!\n");
debug_mesg("done releasing!\n");
}
void LayoutEdit::closeEvent(QCloseEvent *event) {
lm->leWindowClosed();