mirror of
https://github.com/js8call/js8call.git
synced 2025-12-22 09:17:08 +00:00
Use aggregate initializer form for defaults
This commit is contained in:
@@ -20,7 +20,7 @@ public:
|
||||
// Constructors
|
||||
|
||||
Message();
|
||||
Message(QString const & type, QString const & value="");
|
||||
Message(QString const & type, QString const & value = {});
|
||||
Message(QString const & type, QString const & value, QVariantMap const & params);
|
||||
|
||||
// Copying and moving
|
||||
|
||||
@@ -34,7 +34,7 @@ public:
|
||||
|
||||
// initiate a new server host lookup or is the server name is empty
|
||||
// the sending of messages is disabled
|
||||
Q_SLOT void set_server_name (QString const& server_name = QString {});
|
||||
Q_SLOT void set_server_name (QString const& server_name = {});
|
||||
|
||||
// change the server port messages are sent to
|
||||
Q_SLOT void set_server_port (quint16 server_port = 0u);
|
||||
|
||||
Reference in New Issue
Block a user