mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-13 23:17:09 +00:00
Remove unused variable
This commit is contained in:
parent
5f315d0093
commit
db2b120b68
3 changed files with 3 additions and 6 deletions
|
@ -9,7 +9,7 @@
|
|||
#include <QDir>
|
||||
#include <QGuiApplication>
|
||||
|
||||
SdlInputHandler::SdlInputHandler(StreamingPreferences& prefs, NvComputer* computer, int streamWidth, int streamHeight)
|
||||
SdlInputHandler::SdlInputHandler(StreamingPreferences& prefs, int streamWidth, int streamHeight)
|
||||
: m_MultiController(prefs.multiController),
|
||||
m_GamepadMouse(prefs.gamepadMouse),
|
||||
m_SwapMouseButtons(prefs.swapMouseButtons),
|
||||
|
|
|
@ -38,8 +38,7 @@ struct GamepadState {
|
|||
class SdlInputHandler
|
||||
{
|
||||
public:
|
||||
explicit SdlInputHandler(StreamingPreferences& prefs, NvComputer* computer,
|
||||
int streamWidth, int streamHeight);
|
||||
explicit SdlInputHandler(StreamingPreferences& prefs, int streamWidth, int streamHeight);
|
||||
|
||||
~SdlInputHandler();
|
||||
|
||||
|
|
|
@ -1348,9 +1348,7 @@ void Session::execInternal()
|
|||
|
||||
// Initialize the gamepad code with our preferences
|
||||
// NB: m_InputHandler must be initialize before starting the connection.
|
||||
m_InputHandler = new SdlInputHandler(*m_Preferences, m_Computer,
|
||||
m_StreamConfig.width,
|
||||
m_StreamConfig.height);
|
||||
m_InputHandler = new SdlInputHandler(*m_Preferences, m_StreamConfig.width, m_StreamConfig.height);
|
||||
|
||||
AsyncConnectionStartThread asyncConnThread(this);
|
||||
if (!m_ThreadedExec) {
|
||||
|
|
Loading…
Reference in a new issue