Commit 019df53b authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

QList<QImage> -> QVector<QImage>

parent 2d27a6ea
......@@ -39,6 +39,7 @@ GroundOverlayFrame::GroundOverlayFrame( GeoDataPlacemark *placemark,
m_previousRotation( 0.0 ),
m_viewport( 0 )
{
m_resizeIcons.reserve(16);
// NorthWest
m_resizeIcons.append( QImage( MarbleDirs::systemPath() + "/bitmaps/editarrows/arrow-diagonal-topleft.png" ) );
m_resizeIcons.append( QImage( MarbleDirs::systemPath() + "/bitmaps/editarrows/arrow-diagonal-topleft-active.png" ) );
......@@ -65,6 +66,7 @@ GroundOverlayFrame::GroundOverlayFrame( GeoDataPlacemark *placemark,
m_resizeIcons.append( QImage( MarbleDirs::systemPath() + "/bitmaps/editarrows/arrow-horizontal-active.png" ) );
m_rotateIcons.reserve(16);
// NorthWest
m_rotateIcons.append( QImage( MarbleDirs::systemPath() + "/bitmaps/editarrows/arrow-rotation-topleft.png" ) );
m_rotateIcons.append( QImage( MarbleDirs::systemPath() + "/bitmaps/editarrows/arrow-rotation-topleft-active.png" ) );
......
......@@ -74,8 +74,8 @@ private:
bool m_editStatusChangeNeeded;
qreal m_previousRotation;
QList<QImage> m_resizeIcons;
QList<QImage> m_rotateIcons;
QVector<QImage> m_resizeIcons;
QVector<QImage> m_rotateIcons;
const ViewportParams *m_viewport;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment