[Marble-commits] KDE/kdeedu/marble/src
Thibaut Gridel
tgridel at free.fr
Sun Aug 2 23:05:40 CEST 2009
SVN commit 1006027 by tgridel:
remove unused code per pedantic compile
M +1 -1 QtMainWindow.cpp
M +0 -1 plugins/render/osmannotate/OsmAnnotatePlugin.cpp
M +0 -1 plugins/render/osmannotate/PlacemarkTextAnnotation.cpp
--- trunk/KDE/kdeedu/marble/src/QtMainWindow.cpp #1006026:1006027
@@ -308,7 +308,7 @@
//remove and delete old menus if they exist
while( !m_pluginMenus.isEmpty() ) {
- QMenu* menu = m_pluginMenus.takeFirst();
+ m_pluginMenus.takeFirst();
// FIXME: this does not provide an easy way to remove a menu.
// Make a workaround
// this->menuBar()->removeAction();
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/OsmAnnotatePlugin.cpp #1006026:1006027
@@ -350,7 +350,6 @@
QAction* m_addPlacemark;
QAction* m_drawPolygon;
- QAction* m_drawLine;
QAction* m_beginSeparator;
QAction* m_endSeparator;
QAction* m_loadOsmFile;
--- trunk/KDE/kdeedu/marble/src/plugins/render/osmannotate/PlacemarkTextAnnotation.cpp #1006026:1006027
@@ -50,7 +50,6 @@
const QString& renderPos,
GeoSceneLayer * layer )
{
- qreal degPix = viewport->angularResolution() * RAD2DEG;
// painter->drawEllipse(coordinate(), screenBounding().width(), screenBounding().height(), true);
//Would it not be useful to have a draw latlongbox?
More information about the Marble-commits
mailing list