mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Pass QString argument by const reference
This commit is contained in:
committed by
Klaus Basan
parent
9e00814a5a
commit
7e10ea2f64
@@ -15,7 +15,7 @@ namespace BlackMisc
|
||||
{
|
||||
namespace Input
|
||||
{
|
||||
CJoystickButton::CJoystickButton(const QString deviceName, int index) :
|
||||
CJoystickButton::CJoystickButton(const QString &deviceName, int index) :
|
||||
m_deviceName(deviceName), m_buttonIndex(index)
|
||||
{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user