Skip to content

Commit d089808

Browse files
committed
fix warnings
1 parent b8ff575 commit d089808

File tree

4 files changed

+5
-17
lines changed

4 files changed

+5
-17
lines changed

src/app/qgisapp.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,11 +308,6 @@ extern "C"
308308

309309
class QTreeWidgetItem;
310310

311-
312-
// IDs for locating particular menu items
313-
const int BEFORE_RECENT_PATHS = 123;
314-
const int AFTER_RECENT_PATHS = 321;
315-
316311
/** set the application title bar text
317312
318313
If the current project title is null

src/app/qgslabeldialog.cpp

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,12 @@
2828
#include <QDoubleValidator>
2929

3030

31-
const int PIXMAP_WIDTH = 200;
32-
const int PIXMAP_HEIGHT = 20;
33-
3431
QgsLabelDialog::QgsLabelDialog( QgsLabel *label, QWidget *parent )
35-
: QWidget( parent ),
36-
mLabel( label ),
37-
mFontColor( Qt::black ),
38-
mBufferColor( Qt::black ),
39-
mFont( "Helvetica" )
32+
: QWidget( parent )
33+
, mLabel( label )
34+
, mFontColor( Qt::black )
35+
, mBufferColor( Qt::black )
36+
, mFont( "Helvetica" )
4037
{
4138
setupUi( this );
4239
QgsDebugMsg( "entering." );

src/plugins/topology/topol.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include "topol.h"
3131
#include "checkDock.h"
3232

33-
static const char * const sIdent = "$Id: plugin.cpp 8053 2008-01-26 13:59:53Z timlinux $";
3433
static const QString sName = QObject::tr( "Topology Checker" );
3534
static const QString sDescription = QObject::tr( "A Plugin for finding topological errors in vector layers" );
3635
static const QString sCategory = QObject::tr( "Vector" );

src/providers/mssql/qgsmssqlfeatureiterator.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ class QgsMssqlFeatureIterator : public QgsAbstractFeatureIteratorFromSource<QgsM
9393
// The current sql query
9494
QSqlQuery* mQuery;
9595

96-
// Use query on provider (no new connection added)
97-
bool mUseProviderQuery;
98-
9996
// The current sql statement
10097
QString mStatement;
10198

0 commit comments

Comments
 (0)