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"
|
||||
|
||||
DiveLogExportDialog::DiveLogExportDialog(QWidget *parent) : QDialog(parent),
|
||||
ui(new Ui::DiveLogExportDialog)
|
||||
ui(new Ui::DiveLogExportDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
showExplanation();
|
||||
|
@ -83,7 +83,7 @@ void DiveLogExportDialog::exportHtmlInit(QString filename)
|
|||
QString searchPath = getSubsurfaceDataPath("theme");
|
||||
|
||||
if (searchPath == "") {
|
||||
return ;
|
||||
return;
|
||||
}
|
||||
|
||||
QFile *tmpFile;
|
||||
|
@ -179,7 +179,7 @@ void DiveLogExportDialog::on_buttonBox_accepted()
|
|||
break;
|
||||
case 1:
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Export Subsurface"), lastDir,
|
||||
tr("Folders"),0 , QFileDialog::ShowDirsOnly);
|
||||
tr("Folders"), 0, QFileDialog::ShowDirsOnly);
|
||||
if (!filename.isNull() && !filename.isEmpty())
|
||||
exportHtmlInit(filename);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue