actually use --devdir argument
This commit is contained in:
@ -308,7 +308,6 @@ void LayoutManager::fillPopup() {
|
|||||||
|
|
||||||
void LayoutManager::updateJoyDevs() {
|
void LayoutManager::updateJoyDevs() {
|
||||||
debug_mesg("updating joydevs\n");
|
debug_mesg("updating joydevs\n");
|
||||||
QString devdir = DEVDIR;
|
|
||||||
|
|
||||||
//reset all joydevs to sentinal value (-1)
|
//reset all joydevs to sentinal value (-1)
|
||||||
foreach (JoyPad *joypad, joypads) {
|
foreach (JoyPad *joypad, joypads) {
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
//where QJoyPad saves its settings!
|
//where QJoyPad saves its settings!
|
||||||
const QString settingsDir(QDir::homePath() + "/.qjoypad3/");
|
const QString settingsDir(QDir::homePath() + "/.qjoypad3/");
|
||||||
|
|
||||||
|
extern QString devdir;
|
||||||
|
|
||||||
//handles loading, saving, and changing of layouts
|
//handles loading, saving, and changing of layouts
|
||||||
class LayoutManager : public QObject {
|
class LayoutManager : public QObject {
|
||||||
friend class LayoutEdit;
|
friend class LayoutEdit;
|
||||||
|
Reference in New Issue
Block a user