Skip to content

Commit fc01a57

Browse files
committed
Merge #797: qml: Add default member initializers to QmlCoreSettings::Values strings
cb3351c qml: Add default member initializers to `QmlCoreSettings::Values` strings (Hennadii Stepanov) Pull request description: Silences GCC's `-Wmissing-field-initializers` at designated-initializer call sites in `test_options_model.cpp`, where only `proxy_address` and `tor_address` were flagged as they were the only members without a default member initializer. Fixes #779. ACKs for top commit: johnny9: ACK cb3351c Tree-SHA512: 355aad1b1c640df853bc6f8478dc4b305f83c83705ebba02a4485da24cba21a085d9eee851649fb193038d8ac27144faa2518c7e5a08a2de1611e707f1ec3f71
2 parents 81c8c55 + cb3351c commit fc01a57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

qml/core_settings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ struct Values {
2828
bool natpmp{false};
2929
bool server{false};
3030
bool proxy_enabled{false};
31-
QString proxy_address;
31+
QString proxy_address{};
3232
bool tor_enabled{false};
33-
QString tor_address;
33+
QString tor_address{};
3434
};
3535

3636
struct Change {

0 commit comments

Comments
 (0)