diff options
-rw-r--r-- | desktop-widgets/diveshareexportdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/diveshareexportdialog.cpp b/desktop-widgets/diveshareexportdialog.cpp index c6a7771d8..ed6e2829a 100644 --- a/desktop-widgets/diveshareexportdialog.cpp +++ b/desktop-widgets/diveshareexportdialog.cpp @@ -119,7 +119,7 @@ void DiveShareExportDialog::doUpload() ui->progressBar->setRange(0, 0); //generate json - struct membuffer buf = { 0 }; + struct membuffer buf = {}; export_list(&buf, NULL, exportSelected, false); QByteArray json_data(buf.buffer, buf.len); free_buffer(&buf); |