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 <QDir>
|
||||||
#include <QGuiApplication>
|
#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_MultiController(prefs.multiController),
|
||||||
m_GamepadMouse(prefs.gamepadMouse),
|
m_GamepadMouse(prefs.gamepadMouse),
|
||||||
m_SwapMouseButtons(prefs.swapMouseButtons),
|
m_SwapMouseButtons(prefs.swapMouseButtons),
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,7 @@ struct GamepadState {
|
||||||
class SdlInputHandler
|
class SdlInputHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit SdlInputHandler(StreamingPreferences& prefs, NvComputer* computer,
|
explicit SdlInputHandler(StreamingPreferences& prefs, int streamWidth, int streamHeight);
|
||||||
int streamWidth, int streamHeight);
|
|
||||||
|
|
||||||
~SdlInputHandler();
|
~SdlInputHandler();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1348,9 +1348,7 @@ void Session::execInternal()
|
||||||
|
|
||||||
// Initialize the gamepad code with our preferences
|
// Initialize the gamepad code with our preferences
|
||||||
// NB: m_InputHandler must be initialize before starting the connection.
|
// NB: m_InputHandler must be initialize before starting the connection.
|
||||||
m_InputHandler = new SdlInputHandler(*m_Preferences, m_Computer,
|
m_InputHandler = new SdlInputHandler(*m_Preferences, m_StreamConfig.width, m_StreamConfig.height);
|
||||||
m_StreamConfig.width,
|
|
||||||
m_StreamConfig.height);
|
|
||||||
|
|
||||||
AsyncConnectionStartThread asyncConnThread(this);
|
AsyncConnectionStartThread asyncConnThread(this);
|
||||||
if (!m_ThreadedExec) {
|
if (!m_ThreadedExec) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue