1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Compare commits

..

No commits in common. "c68a2a1ac4d91f04628061f804fe636d3b3b3071" and "531b37bc706da91ab962e2427fe7c6d676868c2d" have entirely different histories.

7 changed files with 15 additions and 16 deletions

View File

@ -1,4 +1,4 @@
version: 13.26.{build} version: 13.25.{build}
configuration: configuration:
- Release - Release

View File

@ -3,7 +3,7 @@ unix:!macx:!android {
} else { } else {
TARGET = GPXSee TARGET = GPXSee
} }
VERSION = 13.26 VERSION = 13.25
QT += core \ QT += core \

View File

@ -486,7 +486,7 @@
<message> <message>
<location filename="../src/GUI/gui.cpp" line="370"/> <location filename="../src/GUI/gui.cpp" line="370"/>
<source>All</source> <source>All</source>
<translation>Ĉiuj</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/GUI/gui.cpp" line="374"/> <location filename="../src/GUI/gui.cpp" line="374"/>

View File

@ -492,17 +492,17 @@
<message> <message>
<location filename="../src/GUI/gui.cpp" line="370"/> <location filename="../src/GUI/gui.cpp" line="370"/>
<source>All</source> <source>All</source>
<translation>Kaikki</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/GUI/gui.cpp" line="374"/> <location filename="../src/GUI/gui.cpp" line="374"/>
<source>Raster only</source> <source>Raster only</source>
<translation>Vain rasteri</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/GUI/gui.cpp" line="378"/> <location filename="../src/GUI/gui.cpp" line="378"/>
<source>Vector only</source> <source>Vector only</source>
<translation>Vain vektori</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/GUI/gui.cpp" line="385"/> <location filename="../src/GUI/gui.cpp" line="385"/>

View File

@ -492,17 +492,17 @@
<message> <message>
<location filename="../src/GUI/gui.cpp" line="370"/> <location filename="../src/GUI/gui.cpp" line="370"/>
<source>All</source> <source>All</source>
<translation>Все</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/GUI/gui.cpp" line="374"/> <location filename="../src/GUI/gui.cpp" line="374"/>
<source>Raster only</source> <source>Raster only</source>
<translation>Только растр</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/GUI/gui.cpp" line="378"/> <location filename="../src/GUI/gui.cpp" line="378"/>
<source>Vector only</source> <source>Vector only</source>
<translation>Только вектор</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/GUI/gui.cpp" line="385"/> <location filename="../src/GUI/gui.cpp" line="385"/>
@ -699,7 +699,7 @@
<message> <message>
<location filename="../src/GUI/gui.cpp" line="695"/> <location filename="../src/GUI/gui.cpp" line="695"/>
<source>Layers</source> <source>Layers</source>
<translation>Слои</translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/GUI/gui.cpp" line="721"/> <location filename="../src/GUI/gui.cpp" line="721"/>

View File

@ -37,7 +37,7 @@ Unicode true
; The name of the installer ; The name of the installer
Name "GPXSee" Name "GPXSee"
; Program version ; Program version
!define VERSION "13.26" !define VERSION "13.25"
; The file to write ; The file to write
OutFile "GPXSee-${VERSION}_x64.exe" OutFile "GPXSee-${VERSION}_x64.exe"

View File

@ -264,7 +264,8 @@ QRectF GraphView::bounds() const
void GraphView::redraw() void GraphView::redraw()
{ {
redraw(viewport()->size() - QSizeF(MARGIN, MARGIN)); if (!_graphs.isEmpty())
redraw(viewport()->size() - QSizeF(MARGIN, MARGIN));
} }
void GraphView::redraw(const QSizeF &size) void GraphView::redraw(const QSizeF &size)
@ -274,6 +275,7 @@ void GraphView::redraw(const QSizeF &size)
RangeF rx, ry; RangeF rx, ry;
qreal sx, sy; qreal sx, sy;
if (_bounds.isNull()) { if (_bounds.isNull()) {
removeItem(_xAxis); removeItem(_xAxis);
removeItem(_yAxis); removeItem(_yAxis);
@ -282,10 +284,7 @@ void GraphView::redraw(const QSizeF &size)
removeItem(_slider); removeItem(_slider);
removeItem(_info); removeItem(_info);
removeItem(_grid); removeItem(_grid);
if (_graphs.isEmpty()) addItem(_message);
removeItem(_message);
else
addItem(_message);
_scene->setSceneRect(_scene->itemsBoundingRect()); _scene->setSceneRect(_scene->itemsBoundingRect());
return; return;
} }