actually use --devdir argument

This commit is contained in:
Mathias Panzenböck
2014-02-15 06:53:41 +01:00
parent e2dfdbdc14
commit 851a242761
2 changed files with 2 additions and 1 deletions

View File

@ -308,7 +308,6 @@ void LayoutManager::fillPopup() {
void LayoutManager::updateJoyDevs() {
debug_mesg("updating joydevs\n");
QString devdir = DEVDIR;
//reset all joydevs to sentinal value (-1)
foreach (JoyPad *joypad, joypads) {

View File

@ -34,6 +34,8 @@
//where QJoyPad saves its settings!
const QString settingsDir(QDir::homePath() + "/.qjoypad3/");
extern QString devdir;
//handles loading, saving, and changing of layouts
class LayoutManager : public QObject {
friend class LayoutEdit;