aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamepad/qgamepadmanager.cpp
diff options
context:
space:
mode:
authorZhu Yuliang <zhuyuliang@uniontech.com>2020-11-17 15:18:15 +0800
committerZhu Yuliang <zhuyuliang@uniontech.com>2020-11-18 22:07:50 +0800
commit941da49e0d444241be14e14c4f4c031238523df8 (patch)
treec1fb6a3cf2ed61644af1cee649cefda278c040d5 /src/gamepad/qgamepadmanager.cpp
parent69b95376a11588db0b2e080a4b3ad1da09b60dad (diff)
There should be a space after the comment '//'
The other Qt codes style has space after '//' Change-Id: Icfe6e60163680da706380d7729682b8da9a1b509 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gamepad/qgamepadmanager.cpp')
-rw-r--r--src/gamepad/qgamepadmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamepad/qgamepadmanager.cpp b/src/gamepad/qgamepadmanager.cpp
index c8a0eb5..c1dc740 100644
--- a/src/gamepad/qgamepadmanager.cpp
+++ b/src/gamepad/qgamepadmanager.cpp
@@ -62,7 +62,7 @@ public:
QGamepadBackend *gamepadBackend;
QMap<int, QString> connectedGamepads;
- //private slots
+ // private slots
void _q_forwardGamepadConnected(int deviceId);
void _q_forwardGamepadNameChanged(int deviceId, const QString &name);
void _q_forwardGamepadDisconnected(int deviceId);
@@ -128,7 +128,7 @@ void QGamepadManagerPrivate::loadBackend()
}
if (!gamepadBackend) {
- //Use dummy backend
+ // Use dummy backend
gamepadBackend = new QGamepadBackend();
qCDebug(gp) << "Using dummy backend";
}