Fix some memory leaks

master
Unknown 2019-03-31 12:03:24 +02:00
parent a794320539
commit 1030d7cae4
6 changed files with 117 additions and 110 deletions

View File

@ -43,6 +43,11 @@ public:
explicit DrawMapFigure(Geometry *geometry, QColor color, QObject *parent = nullptr) :
QObject(parent), geometry(geometry), color(color) { }
~DrawMapFigure()
{
delete geometry;
}
//DrawMapFigure(const DrawMapFigure &f) {}
bool requiresPoint() const;
bool requiresGeometry() const;

View File

@ -112,9 +112,6 @@ QVariant DrawMapFigureTableModel::data(const QModelIndex &index, int role) const
default:
return QVariant();
}
// FIXME: Implement me!
return QVariant();
}
else if(role == Qt::DecorationRole && col==4){
return item->getColor();
@ -153,7 +150,6 @@ bool DrawMapFigureTableModel::setData(const QModelIndex &index, const QVariant &
default:
break;
}
// FIXME: Implement me!
emit dataChanged(index, index, QVector<int>() << role);
return true;
}
@ -202,7 +198,6 @@ bool DrawMapFigureTableModel::insertRows(int position, int count, const QModelIn
bool DrawMapFigureTableModel::insertColumns(int column, int count, const QModelIndex &parent)
{
beginInsertColumns(parent, column, column + count - 1);
// FIXME: Implement me!
endInsertColumns();
return false;
}
@ -220,7 +215,6 @@ bool DrawMapFigureTableModel::removeRows(int position, int count, const QModelIn
bool DrawMapFigureTableModel::removeColumns(int column, int count, const QModelIndex &parent)
{
beginRemoveColumns(parent, column, column + count - 1);
// FIXME: Implement me!
endRemoveColumns();
return false;
}

View File

@ -13,6 +13,12 @@ class DrawMapFigureTableModel : public QAbstractTableModel
public:
explicit DrawMapFigureTableModel(QObject *parent = nullptr);
~DrawMapFigureTableModel()
{
list->clear();
delete list;
}
// Header:
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;

View File

@ -228,6 +228,8 @@ void MainWindow::changeEvent(QEvent* event)
MainWindow::~MainWindow()
{
minetestMapper->cancel();
delete settings;
delete profile;
delete ui;
}

View File

@ -1306,7 +1306,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2419"/>
<location filename="../mainwindow.cpp" line="1022"/>
<location filename="../mainwindow.cpp" line="1024"/>
<source>Cancel</source>
<translation>Abbrechen</translation>
</message>
@ -1339,7 +1339,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2707"/>
<location filename="../mainwindow.cpp" line="864"/>
<location filename="../mainwindow.cpp" line="866"/>
<source>About MinetestMapper</source>
<translation>Über MinetestMapper</translation>
</message>
@ -1383,7 +1383,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2847"/>
<location filename="../mainwindow.cpp" line="886"/>
<location filename="../mainwindow.cpp" line="888"/>
<source>New Profile</source>
<translation>Neues Profil</translation>
</message>
@ -1393,7 +1393,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2855"/>
<location filename="../mainwindow.cpp" line="430"/>
<location filename="../mainwindow.cpp" line="432"/>
<source>Expert Mode</source>
<translation>Expertenmodus</translation>
</message>
@ -1413,12 +1413,12 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2806"/>
<location filename="../mainwindow.cpp" line="850"/>
<location filename="../mainwindow.cpp" line="852"/>
<source>About MinetestMapper GUI</source>
<translation>Über MinetestMapperGUI</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="247"/>
<location filename="../mainwindow.cpp" line="249"/>
<source>Minetestmapper not found</source>
<translation>Minetestmapper nicht gefunden</translation>
</message>
@ -1443,7 +1443,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
<translation type="vanished">Das Bild existiert bereits</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="277"/>
<location filename="../mainwindow.cpp" line="279"/>
<source>The File &lt;i&gt;%1&lt;/i&gt; does already exist. &lt;br&gt;&lt;br&gt;Do you want to overwrite?</source>
<translation>Die Datei &lt;i&gt;%1&lt;/i&gt; existiert bereits. &lt;br&gt;&lt;br&gt;Soll die Datei Überschrieben werden?</translation>
</message>
@ -1452,58 +1452,58 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
<translation type="vanished">Der Ordner existiert nicht</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="286"/>
<location filename="../mainwindow.cpp" line="288"/>
<source>The directory &lt;i&gt;%1&lt;/i&gt; does not exist. &lt;br&gt;&lt;br&gt;Should it be created?</source>
<translation>Der Ordner &lt;i&gt;%1&lt;/i&gt; existiert nicht. &lt;br&gt;&lt;br&gt;Möchten sie den Ordner erstellen?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="431"/>
<location filename="../mainwindow.cpp" line="433"/>
<source>MinetestMapper will be executed using this arguments.
The arguments can be removed, modified, or new arguments can be added.</source>
<translation>MinetestMapper wird mit den folgenden Parametern ausgeführt.
Die einzelnen Parameter können entfernt, verändert, oder neue hinzugefügt werden.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="490"/>
<location filename="../mainwindow.cpp" line="492"/>
<source>Finisched :)</source>
<translation>Fertig :-)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="498"/>
<location filename="../mainwindow.cpp" line="500"/>
<source>minetestmapper terminated</source>
<translation>minetestmapper abgebrochen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="241"/>
<location filename="../mainwindow.cpp" line="243"/>
<source>ERROR: No minetestmapper executable could not be found.
Please configure one. </source>
<translation>FEHLER: Kein Minetestmapper programm gefunden.
Bitte Konfiguriere eins.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="244"/>
<location filename="../mainwindow.cpp" line="246"/>
<source>ERROR: The Minetetmapper Application (%1) does not look like a Minetetestmapper
Please configure a correct MinetestMapper Application. </source>
<translation>FEHLER: Das Minetestmapper Programm (%1) ist möglicherweise kein Minetestmapper Programm.
Bitte Wählen sie eine Korrekte Minetestmapper Anwendung aus.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="249"/>
<location filename="../mainwindow.cpp" line="251"/>
<source>(Edit-&gt;Preferences)</source>
<translation>(Bearbeiten-&gt;Einstellungen)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="251"/>
<location filename="../mainwindow.cpp" line="253"/>
<source>Do you want to open Preferences now?</source>
<translation>Sollen die Einstellungen jetzt geöffnet werden?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="263"/>
<location filename="../mainwindow.cpp" line="265"/>
<source>No input world selected</source>
<translation>Keine Welt ausgewählt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="264"/>
<location filename="../mainwindow.cpp" line="266"/>
<source>ERROR: No MinetestWorld selected.
please select a world</source>
@ -1512,12 +1512,12 @@ please select a world</source>
Bitte wähle eine aus</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="270"/>
<location filename="../mainwindow.cpp" line="272"/>
<source>No output image selected</source>
<translation>Kein Ausgansbild ausgewählt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="271"/>
<location filename="../mainwindow.cpp" line="273"/>
<source>ERROR: No output image selected.
Please select a output image</source>
@ -1526,28 +1526,28 @@ Please select a output image</source>
Bitte ein Ausgabebild wählen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="276"/>
<location filename="../mainwindow.cpp" line="278"/>
<source>The image file does already exist</source>
<translation>Die Datei existiert bereits</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="285"/>
<location filename="../mainwindow.cpp" line="287"/>
<source>The directory does not exist</source>
<translation>Der Ordner existiert nicht</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="501"/>
<location filename="../mainwindow.cpp" line="518"/>
<location filename="../mainwindow.cpp" line="503"/>
<location filename="../mainwindow.cpp" line="520"/>
<source>Minetest Mapper failed</source>
<translation>Minetestmapper hat ein Fehler festgestellt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="502"/>
<location filename="../mainwindow.cpp" line="504"/>
<source>&lt;h1&gt;ERROR&lt;/h1&gt; &lt;h2&gt;minetestmapper failed&lt;/h2&gt;Exit code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Status of MinetestMapper: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Please fix the error and try again </source>
<translation>&lt;h1&gt;Fehler&lt;/h1&gt; &lt;h2&gt;kartenerstellung fehlgeschlagen&lt;/h2&gt;Exit code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Ausgabe des Minetstmapper: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Bitte den Fehler beheben und erneut versuchen </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="519"/>
<location filename="../mainwindow.cpp" line="521"/>
<source>&lt;h1&gt;ERROR&lt;/h1&gt; &lt;h2&gt;minetestmapper failed&lt;/h2&gt;Error code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Error Message: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;</source>
<translation>&lt;h1&gt;FEHLER&lt;/h1&gt; &lt;h2&gt;minetestmapper ist abgestürzt&lt;/h2&gt;Fehlercode: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Fehlernachricht: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;</translation>
</message>
@ -1560,92 +1560,92 @@ Bitte ein Ausgabebild wählen</translation>
<translation type="vanished">Konnte die Einstellungen nicht migrieren</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="575"/>
<location filename="../mainwindow.cpp" line="577"/>
<source>Can not save settings</source>
<translation>Kann die Einstellungen nicht speichern</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="576"/>
<location filename="../mainwindow.cpp" line="578"/>
<source>Minetest Mapper GUI could not save the settings to %1.
Please make shure Minetest Mapper Gui can access to the file/directory</source>
<translation>Minetest Mapper GUI konnte die Einstellungen nicht nach %1 speichern.
Bitte stelle sicher, dass Minetest Mapper GUI auf die Datei/ den Ordner zugreifen darf.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="603"/>
<location filename="../mainwindow.cpp" line="605"/>
<source>Can not save profile</source>
<translation>Konnte das Profil nicht speichern</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="604"/>
<location filename="../mainwindow.cpp" line="606"/>
<source>Minetest Mapper GUI could not save the current Profile &apos;%1&apos; to %2.
Please make shure Minetest Mapper Gui can access to the file/directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="808"/>
<location filename="../mainwindow.cpp" line="810"/>
<source>Open Minetest World</source>
<translation>Minetest Welt-Ordner öffnen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="818"/>
<location filename="../mainwindow.cpp" line="820"/>
<source>Save generated map to...</source>
<translation>Karte speichern nach...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="818"/>
<location filename="../mainwindow.cpp" line="820"/>
<source>png image (*.png)</source>
<translation>png Grafik (*.png)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="825"/>
<location filename="../mainwindow.cpp" line="827"/>
<source>Open HeightmapNodes File</source>
<translation>Öffne HeightmapNodes Datei</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="827"/>
<location filename="../mainwindow.cpp" line="835"/>
<location filename="../mainwindow.cpp" line="843"/>
<location filename="../mainwindow.cpp" line="829"/>
<location filename="../mainwindow.cpp" line="837"/>
<location filename="../mainwindow.cpp" line="845"/>
<source>TXT File (*.txt)</source>
<translation>TXT Datei (*.txt)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="833"/>
<location filename="../mainwindow.cpp" line="835"/>
<source>Open HeightmapColors File</source>
<translation>Öffne Höhenkarte Farbdefinitionsdatei</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="841"/>
<location filename="../mainwindow.cpp" line="843"/>
<source>Open colors.txt File</source>
<translation>Öffne colors.txt Datei</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="851"/>
<location filename="../mainwindow.cpp" line="853"/>
<source>&lt;h1&gt;About MinetestMapperGUI&lt;/h1&gt;The &lt;b&gt;MinetestMapper Gui&lt;/b&gt; is written by addi.&lt;br /&gt;It is licensed under a &lt;a href=&quot;http://creativecommons.org/licenses/by/3.0/&quot;&gt;Creative Commons Attribution 3.0 Unported License&lt;/a&gt;.&lt;br&gt;The current version is %1. &lt;br&gt;The sourcecode is aviable on &lt;a href=&apos;https://bitbucket.org/adrido/minetestmappergui/&apos;&gt;Bitbucket&lt;/a&gt;.&lt;br&gt;You may also want to read the &lt;a href=&apos;https://forum.minetest.net/viewtopic.php?f=14&amp;t=12139&apos;&gt;Minetest forum thread&lt;/a&gt;.&lt;br&gt;&lt;br&gt;&lt;b&gt;Thanks to:&lt;/b&gt;&lt;br&gt;McKrustenkaese for his great icon</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="865"/>
<location filename="../mainwindow.cpp" line="867"/>
<source>&lt;h1&gt;About MinetestMapper&lt;/h1&gt;The &lt;b&gt;MinetestMapper&lt;/b&gt; is written by:&lt;br&gt;Miroslav Bendík &lt;miroslav.bendik@gmail.com&gt;&lt;br&gt;ShadowNinja &lt;shadowninja@minetest.net&gt;&lt;br&gt;sfan5 &lt;sfan5@live.de&gt;&lt;br&gt;Rogier &lt;rogier777@gmail.com&gt;&lt;br&gt;&lt;br&gt;&lt;u&gt;Version:&lt;/u&gt; %1 (%2)&lt;br&gt;&lt;u&gt;License:&lt;/u&gt; LGPLv2.1+ and BSD 2-clause.&lt;br&gt;&lt;u&gt;Source Code:&lt;/u&gt; &lt;a href=&apos;https://github.com/Rogier-5/minetest-mapper-cpp&apos;&gt;Github&lt;/a&gt;&lt;br&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="946"/>
<location filename="../mainwindow.cpp" line="948"/>
<source>map center</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="951"/>
<location filename="../mainwindow.cpp" line="953"/>
<source>map origin (top left)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1001"/>
<location filename="../mainwindow.cpp" line="1003"/>
<source>Create a colors.txt</source>
<translation>Erstelle eine colors.txt Datei</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1002"/>
<location filename="../mainwindow.cpp" line="1004"/>
<source>There is a nodes.txt but no colors.txt in the world directory
Do you want to generate one?
If you select &apos;No&apos; the default colors.txt will be used.</source>
@ -1654,34 +1654,34 @@ Möchtest du eine erstellen?
Wenn du auf &apos;Nein&apos; clickst, wird eine standard colors.txt Datei verwendet.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1019"/>
<location filename="../mainwindow.cpp" line="1021"/>
<source>No colors.txt file</source>
<translation>Keine colors.txt Datei</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1020"/>
<location filename="../mainwindow.cpp" line="1022"/>
<source>ERROR: Still no colors.txt file found inside world directory.
Do you want to cancel or proceed with default colors.txt file?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1023"/>
<location filename="../mainwindow.cpp" line="1025"/>
<source>Proceed with default</source>
<translation>Mit standard Datei fortfahren</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1095"/>
<location filename="../mainwindow.cpp" line="1097"/>
<source>Could not open Terminal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1096"/>
<location filename="../mainwindow.cpp" line="1098"/>
<source>Error: Could not open scriptfile (%1) for Terminal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1120"/>
<location filename="../mainwindow.cpp" line="1122"/>
<source>Open Directory</source>
<translation type="unfinished"></translation>
</message>
@ -1716,12 +1716,12 @@ Bitte erneut eine gültige minetestmapper Anwendung auswählen. (Bearbeiten-&gt;
Möchten Sie die Einstellungen jetzt öffnen? </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="879"/>
<location filename="../mainwindow.cpp" line="881"/>
<source>preview: %1</source>
<translation>Vorschau: %1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="887"/>
<location filename="../mainwindow.cpp" line="889"/>
<source>Name of the new Profile:</source>
<translation>Name des Neuen Profils:</translation>
</message>

View File

@ -994,7 +994,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2419"/>
<location filename="../mainwindow.cpp" line="1022"/>
<location filename="../mainwindow.cpp" line="1024"/>
<source>Cancel</source>
<translation type="unfinished"></translation>
</message>
@ -1052,7 +1052,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2707"/>
<location filename="../mainwindow.cpp" line="864"/>
<location filename="../mainwindow.cpp" line="866"/>
<source>About MinetestMapper</source>
<translation type="unfinished"></translation>
</message>
@ -1088,7 +1088,7 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2806"/>
<location filename="../mainwindow.cpp" line="850"/>
<location filename="../mainwindow.cpp" line="852"/>
<source>About MinetestMapper GUI</source>
<translation type="unfinished"></translation>
</message>
@ -1139,13 +1139,13 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
</message>
<message>
<location filename="../mainwindow.ui" line="2847"/>
<location filename="../mainwindow.cpp" line="886"/>
<location filename="../mainwindow.cpp" line="888"/>
<source>New Profile</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.ui" line="2855"/>
<location filename="../mainwindow.cpp" line="430"/>
<location filename="../mainwindow.cpp" line="432"/>
<source>Expert Mode</source>
<translation type="unfinished"></translation>
</message>
@ -1190,238 +1190,238 @@ Nodes higher than this level will not be drawn. This can be used to avoid floati
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="241"/>
<location filename="../mainwindow.cpp" line="243"/>
<source>ERROR: No minetestmapper executable could not be found.
Please configure one. </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="244"/>
<location filename="../mainwindow.cpp" line="246"/>
<source>ERROR: The Minetetmapper Application (%1) does not look like a Minetetestmapper
Please configure a correct MinetestMapper Application. </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="247"/>
<location filename="../mainwindow.cpp" line="249"/>
<source>Minetestmapper not found</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="277"/>
<location filename="../mainwindow.cpp" line="279"/>
<source>The File &lt;i&gt;%1&lt;/i&gt; does already exist. &lt;br&gt;&lt;br&gt;Do you want to overwrite?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="286"/>
<location filename="../mainwindow.cpp" line="288"/>
<source>The directory &lt;i&gt;%1&lt;/i&gt; does not exist. &lt;br&gt;&lt;br&gt;Should it be created?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="431"/>
<location filename="../mainwindow.cpp" line="433"/>
<source>MinetestMapper will be executed using this arguments.
The arguments can be removed, modified, or new arguments can be added.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="490"/>
<location filename="../mainwindow.cpp" line="492"/>
<source>Finisched :)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="498"/>
<location filename="../mainwindow.cpp" line="500"/>
<source>minetestmapper terminated</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="249"/>
<location filename="../mainwindow.cpp" line="251"/>
<source>(Edit-&gt;Preferences)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="251"/>
<location filename="../mainwindow.cpp" line="253"/>
<source>Do you want to open Preferences now?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="263"/>
<location filename="../mainwindow.cpp" line="265"/>
<source>No input world selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="264"/>
<location filename="../mainwindow.cpp" line="266"/>
<source>ERROR: No MinetestWorld selected.
please select a world</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="270"/>
<location filename="../mainwindow.cpp" line="272"/>
<source>No output image selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="271"/>
<location filename="../mainwindow.cpp" line="273"/>
<source>ERROR: No output image selected.
Please select a output image</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="276"/>
<location filename="../mainwindow.cpp" line="278"/>
<source>The image file does already exist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="285"/>
<location filename="../mainwindow.cpp" line="287"/>
<source>The directory does not exist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="501"/>
<location filename="../mainwindow.cpp" line="518"/>
<location filename="../mainwindow.cpp" line="503"/>
<location filename="../mainwindow.cpp" line="520"/>
<source>Minetest Mapper failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="502"/>
<location filename="../mainwindow.cpp" line="504"/>
<source>&lt;h1&gt;ERROR&lt;/h1&gt; &lt;h2&gt;minetestmapper failed&lt;/h2&gt;Exit code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Status of MinetestMapper: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Please fix the error and try again </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="519"/>
<location filename="../mainwindow.cpp" line="521"/>
<source>&lt;h1&gt;ERROR&lt;/h1&gt; &lt;h2&gt;minetestmapper failed&lt;/h2&gt;Error code: &lt;i&gt;%1&lt;/i&gt; &lt;br&gt;Error Message: &lt;pre&gt;%2&lt;/pre&gt;&lt;br&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="575"/>
<location filename="../mainwindow.cpp" line="577"/>
<source>Can not save settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="576"/>
<location filename="../mainwindow.cpp" line="578"/>
<source>Minetest Mapper GUI could not save the settings to %1.
Please make shure Minetest Mapper Gui can access to the file/directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="603"/>
<location filename="../mainwindow.cpp" line="605"/>
<source>Can not save profile</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="604"/>
<location filename="../mainwindow.cpp" line="606"/>
<source>Minetest Mapper GUI could not save the current Profile &apos;%1&apos; to %2.
Please make shure Minetest Mapper Gui can access to the file/directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="808"/>
<location filename="../mainwindow.cpp" line="810"/>
<source>Open Minetest World</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="818"/>
<location filename="../mainwindow.cpp" line="820"/>
<source>Save generated map to...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="818"/>
<location filename="../mainwindow.cpp" line="820"/>
<source>png image (*.png)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="825"/>
<location filename="../mainwindow.cpp" line="827"/>
<source>Open HeightmapNodes File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="827"/>
<location filename="../mainwindow.cpp" line="835"/>
<location filename="../mainwindow.cpp" line="843"/>
<location filename="../mainwindow.cpp" line="829"/>
<location filename="../mainwindow.cpp" line="837"/>
<location filename="../mainwindow.cpp" line="845"/>
<source>TXT File (*.txt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="833"/>
<location filename="../mainwindow.cpp" line="835"/>
<source>Open HeightmapColors File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="841"/>
<location filename="../mainwindow.cpp" line="843"/>
<source>Open colors.txt File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="851"/>
<location filename="../mainwindow.cpp" line="853"/>
<source>&lt;h1&gt;About MinetestMapperGUI&lt;/h1&gt;The &lt;b&gt;MinetestMapper Gui&lt;/b&gt; is written by addi.&lt;br /&gt;It is licensed under a &lt;a href=&quot;http://creativecommons.org/licenses/by/3.0/&quot;&gt;Creative Commons Attribution 3.0 Unported License&lt;/a&gt;.&lt;br&gt;The current version is %1. &lt;br&gt;The sourcecode is aviable on &lt;a href=&apos;https://bitbucket.org/adrido/minetestmappergui/&apos;&gt;Bitbucket&lt;/a&gt;.&lt;br&gt;You may also want to read the &lt;a href=&apos;https://forum.minetest.net/viewtopic.php?f=14&amp;t=12139&apos;&gt;Minetest forum thread&lt;/a&gt;.&lt;br&gt;&lt;br&gt;&lt;b&gt;Thanks to:&lt;/b&gt;&lt;br&gt;McKrustenkaese for his great icon</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="865"/>
<location filename="../mainwindow.cpp" line="867"/>
<source>&lt;h1&gt;About MinetestMapper&lt;/h1&gt;The &lt;b&gt;MinetestMapper&lt;/b&gt; is written by:&lt;br&gt;Miroslav Bendík &lt;miroslav.bendik@gmail.com&gt;&lt;br&gt;ShadowNinja &lt;shadowninja@minetest.net&gt;&lt;br&gt;sfan5 &lt;sfan5@live.de&gt;&lt;br&gt;Rogier &lt;rogier777@gmail.com&gt;&lt;br&gt;&lt;br&gt;&lt;u&gt;Version:&lt;/u&gt; %1 (%2)&lt;br&gt;&lt;u&gt;License:&lt;/u&gt; LGPLv2.1+ and BSD 2-clause.&lt;br&gt;&lt;u&gt;Source Code:&lt;/u&gt; &lt;a href=&apos;https://github.com/Rogier-5/minetest-mapper-cpp&apos;&gt;Github&lt;/a&gt;&lt;br&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="946"/>
<location filename="../mainwindow.cpp" line="948"/>
<source>map center</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="951"/>
<location filename="../mainwindow.cpp" line="953"/>
<source>map origin (top left)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1001"/>
<location filename="../mainwindow.cpp" line="1003"/>
<source>Create a colors.txt</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1002"/>
<location filename="../mainwindow.cpp" line="1004"/>
<source>There is a nodes.txt but no colors.txt in the world directory
Do you want to generate one?
If you select &apos;No&apos; the default colors.txt will be used.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1019"/>
<location filename="../mainwindow.cpp" line="1021"/>
<source>No colors.txt file</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1020"/>
<location filename="../mainwindow.cpp" line="1022"/>
<source>ERROR: Still no colors.txt file found inside world directory.
Do you want to cancel or proceed with default colors.txt file?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1023"/>
<location filename="../mainwindow.cpp" line="1025"/>
<source>Proceed with default</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1095"/>
<location filename="../mainwindow.cpp" line="1097"/>
<source>Could not open Terminal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1096"/>
<location filename="../mainwindow.cpp" line="1098"/>
<source>Error: Could not open scriptfile (%1) for Terminal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="1120"/>
<location filename="../mainwindow.cpp" line="1122"/>
<source>Open Directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="879"/>
<location filename="../mainwindow.cpp" line="881"/>
<source>preview: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="887"/>
<location filename="../mainwindow.cpp" line="889"/>
<source>Name of the new Profile:</source>
<translation type="unfinished"></translation>
</message>