mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Pass primitive types by value (#935)
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
/// @param address The address of the Hyperion server (for example "192.168.0.32:19444)
|
||||
/// @param skipReply If true skip reply
|
||||
///
|
||||
FlatBufferConnection(const QString& origin, const QString & address, const int& priority, const bool& skipReply);
|
||||
FlatBufferConnection(const QString& origin, const QString & address, int priority, bool skipReply);
|
||||
|
||||
///
|
||||
/// @brief Destructor
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
~FlatBufferConnection();
|
||||
|
||||
/// @brief Do not read reply messages from Hyperion if set to true
|
||||
void setSkipReply(const bool& skip);
|
||||
void setSkipReply(bool skip);
|
||||
|
||||
///
|
||||
/// @brief Register a new priority with given origin
|
||||
@@ -100,7 +100,7 @@ signals:
|
||||
///
|
||||
/// @brief emits when a new videoMode was requested from flatbuf client
|
||||
///
|
||||
void setVideoMode(const VideoMode videoMode);
|
||||
void setVideoMode(VideoMode videoMode);
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -29,7 +29,7 @@ public slots:
|
||||
/// @param type The type from enum
|
||||
/// @param config The configuration
|
||||
///
|
||||
void handleSettingsUpdate(const settings::type& type, const QJsonDocument& config);
|
||||
void handleSettingsUpdate(settings::type type, const QJsonDocument& config);
|
||||
|
||||
void initServer();
|
||||
|
||||
|
Reference in New Issue
Block a user