summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/divelogexportdialog.cpp16
-rw-r--r--desktop-widgets/divelogexportdialog.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/desktop-widgets/divelogexportdialog.cpp b/desktop-widgets/divelogexportdialog.cpp
index 7a406b982..bd6951397 100644
--- a/desktop-widgets/divelogexportdialog.cpp
+++ b/desktop-widgets/divelogexportdialog.cpp
@@ -105,22 +105,6 @@ 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)
{
showExplanation();
diff --git a/desktop-widgets/divelogexportdialog.h b/desktop-widgets/divelogexportdialog.h
index a5b5cc770..b72d96c50 100644
--- a/desktop-widgets/divelogexportdialog.h
+++ b/desktop-widgets/divelogexportdialog.h
@@ -32,7 +32,6 @@ private:
Ui::DiveLogExportDialog *ui;
void showExplanation();
void exportHtmlInit(const QString &filename);
- void exportHTMLsettings(const QString &filename);
void export_depths(const char *filename, const bool selected_only);
};