summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelogexportdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/divelogexportdialog.cpp')
-rw-r--r--desktop-widgets/divelogexportdialog.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/desktop-widgets/divelogexportdialog.cpp b/desktop-widgets/divelogexportdialog.cpp
index 7a406b982..e7c53274c 100644
--- a/desktop-widgets/divelogexportdialog.cpp
+++ b/desktop-widgets/divelogexportdialog.cpp
@@ -105,24 +105,9 @@ void DiveLogExportDialog::exportHtmlInit(const QString &filename)
exportHtmlInitLogic(filename, hes);
}
-void DiveLogExportDialog::exportHTMLsettings(const QString &filename)
-{
- QSettings settings;
- settings.beginGroup("HTML");
- settings.setValue("fontSelection", ui->fontSelection->currentIndex());
- settings.setValue("fontSizeSelection", ui->fontSizeSelection->currentIndex());
- settings.setValue("themeSelection", ui->themeSelection->currentIndex());
- settings.setValue("subsurfaceNumbers", ui->exportSubsurfaceNumber->isChecked());
- settings.setValue("yearlyStatistics", ui->exportStatistics->isChecked());
- settings.setValue("listOnly", ui->exportListOnly->isChecked());
- settings.setValue("exportPhotos", ui->exportPhotos->isChecked());
- settings.endGroup();
-
-}
-
-
void DiveLogExportDialog::on_exportGroup_buttonClicked(QAbstractButton *button)
{
+ Q_UNUSED(button)
showExplanation();
}
@@ -210,7 +195,7 @@ void DiveLogExportDialog::export_depths(const char *filename, const bool selecte
int i;
const char *unit = NULL;
- struct membuffer buf = { 0 };
+ struct membuffer buf = {};
for_each_dive (i, dive) {
if (selected_only && !dive->selected)