mem leaks--, globals--, better macro names, Q_OBJECT++, other name improvemets

This commit is contained in:
Mathias Panzenböck
2014-02-16 01:12:41 +01:00
parent 904a843b93
commit f2a566cc06
25 changed files with 191 additions and 183 deletions

View File

@ -6,7 +6,7 @@
#include <poll.h>
#include <QApplication>
JoyPad::JoyPad( int i, int dev ) {
JoyPad::JoyPad( int i, int dev, QObject *parent ) : QObject(parent) {
debug_mesg("Constructing the joypad device with index %d and fd %d\n", i, dev);
//remember the index,
index = i;