Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Commit

Permalink
Updated main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
juliagoda committed Dec 12, 2018
1 parent a30001d commit 22f1b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ int main(int argc, char *argv[])
}

mainWindow.removeJoyTabs();
QObject::connect(&antimicro, &QApplication::aboutToQuit, joypad_worker, &InputDaemon::quit);
QObject::connect(&antimicro, &QApplication::aboutToQuit, joypad_worker.data(), &InputDaemon::quit);
QTimer::singleShot(50, &antimicro, &QApplication::quit);

int result = antimicro.exec();
Expand Down

0 comments on commit 22f1b52

Please sign in to comment.