fix -Wextra & -Wdeprecated in TechDraw

This commit is contained in:
wmayer
2016-09-22 19:32:16 +02:00
parent dbfcc77e6a
commit 6148bf4df5
32 changed files with 76 additions and 35 deletions

View File

@@ -38,7 +38,6 @@
#include <QStyleOptionGraphicsItem>
#include <QTextOption>
#include <QTransform>
#include <strstream>
#endif
#include <App/Application.h>
@@ -180,6 +179,7 @@ void QGIView::mouseReleaseEvent(QGraphicsSceneMouseEvent * event)
void QGIView::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
{
Q_UNUSED(event);
// TODO don't like this but only solution at the minute (MLP)
if (isSelected()) {
m_colCurrent = getSelectColor();
@@ -195,6 +195,7 @@ void QGIView::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
void QGIView::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
{
Q_UNUSED(event);
if(isSelected()) {
m_colCurrent = getSelectColor();
} else {