fixes up a bug that occurs when the --debug flag is not set

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@106 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2009-08-20 23:27:07 +00:00
committed by virtuoussin13
parent 384b890f12
commit b4fb916596

View File

@ -62,7 +62,7 @@ void JoyPad::setupJoyDeviceListener(int dev) {
connect(joydevFileHandle, SIGNAL(activated(int)), this, SLOT(handleJoyEvents(int))); connect(joydevFileHandle, SIGNAL(activated(int)), this, SLOT(handleJoyEvents(int)));
joydevFileException = new QSocketNotifier(dev, QSocketNotifier::Exception, this); joydevFileException = new QSocketNotifier(dev, QSocketNotifier::Exception, this);
connect(joydevFileException, SIGNAL(activated(int)), this, SLOT(errorRead(int))); connect(joydevFileException, SIGNAL(activated(int)), this, SLOT(errorRead(int)));
DEBUG("Done setting up joyDeviceListeners\n") DEBUG("Done setting up joyDeviceListeners\n");
} }
void JoyPad::toDefault() { void JoyPad::toDefault() {