mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix HTML export white space issues
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
197bd76f16
commit
a89533bf37
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
|
|
||||||
DiveLogExportDialog::DiveLogExportDialog(QWidget *parent) : QDialog(parent),
|
DiveLogExportDialog::DiveLogExportDialog(QWidget *parent) : QDialog(parent),
|
||||||
ui(new Ui::DiveLogExportDialog)
|
ui(new Ui::DiveLogExportDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
showExplanation();
|
showExplanation();
|
||||||
|
@ -83,7 +83,7 @@ void DiveLogExportDialog::exportHtmlInit(QString filename)
|
||||||
QString searchPath = getSubsurfaceDataPath("theme");
|
QString searchPath = getSubsurfaceDataPath("theme");
|
||||||
|
|
||||||
if (searchPath == "") {
|
if (searchPath == "") {
|
||||||
return ;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QFile *tmpFile;
|
QFile *tmpFile;
|
||||||
|
@ -179,7 +179,7 @@ void DiveLogExportDialog::on_buttonBox_accepted()
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
filename = QFileDialog::getSaveFileName(this, tr("Export Subsurface"), lastDir,
|
filename = QFileDialog::getSaveFileName(this, tr("Export Subsurface"), lastDir,
|
||||||
tr("Folders"),0 , QFileDialog::ShowDirsOnly);
|
tr("Folders"), 0, QFileDialog::ShowDirsOnly);
|
||||||
if (!filename.isNull() && !filename.isEmpty())
|
if (!filename.isNull() && !filename.isEmpty())
|
||||||
exportHtmlInit(filename);
|
exportHtmlInit(filename);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue