Skip to content

Commit eb40bea

Browse files

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed
 

‎src/plugins/georeferencer/qgspointdialog.cpp

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
#include <cmath>
22

3-
#include <QPushButton>
4-
#include <QComboBox>
53
#include <QFileDialog>
6-
#include <QHBoxLayout>
7-
#include <QLayout>
8-
#include <QLineEdit>
94
#include <QMessageBox>
105
#include <QTextStream>
11-
#include <QToolButton>
126

137
#include "qgisiface.h"
148
#include "qgsapplication.h"
@@ -264,11 +258,11 @@ bool QgsPointDialog::generateWorldFile()
264258
else if (cmbTransformType->currentItem() == 1)
265259
{
266260
int res = QMessageBox::warning(this, tr("Warning"),
267-
tr("A Helmert transform requires modifications in "
268-
"the raster layer.\nThe modifed raster will be "
269-
"saved in a new file and a world file will be "
270-
"generated for this new file instead.\nAre you "
271-
"sure that this is what you want?"),
261+
tr("<p>A Helmert transform requires modifications in "
262+
"the raster layer.</p><p>The modifed raster will be "
263+
"saved in a new file and a world file will be "
264+
"generated for this new file instead.</p><p>Are you "
265+
"sure that this is what you want?</p>"),
272266
QMessageBox::No, QMessageBox::Yes);
273267
if (res == QMessageBox::No)
274268
return false;
@@ -277,9 +271,9 @@ bool QgsPointDialog::generateWorldFile()
277271
else if (cmbTransformType->currentItem() == 2)
278272
{
279273
QMessageBox::critical(this, tr("Not implemented!"),
280-
tr("An affine transform requires changing the "
274+
tr("<p>An affine transform requires changing the "
281275
"original raster file. This is not yet "
282-
"supported."));
276+
"supported.</p>"));
283277
return false;
284278
}
285279
}

0 commit comments

Comments
 (0)
Please sign in to comment.