Skip to content

Commit ac9eed7

Browse files
committedFeb 10, 2014
Merge pull request #1157 from kiith-sa/master
Fix #9213 ('bad_alloc' error at QGIS start)
2 parents 928613c + 3a075a6 commit ac9eed7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
446446
: QMainWindow( parent, fl )
447447
, mSplash( splash )
448448
, mInternalClipboard( 0 )
449+
, mMousePrecisionDecimalPlaces( 0 )
449450
, mShowProjectionTab( false )
450451
, mPythonUtils( NULL )
451452
#ifdef Q_OS_WIN

‎src/app/qgisapp.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,9 +1457,10 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
14571457
QStringList mRecentProjectPaths;
14581458
//! Print composers of this project, accessible by id string
14591459
QSet<QgsComposer*> mPrintComposers;
1460-
//! How to determine the number of decimal places used to
1461-
//! display the mouse position
1462-
bool mMousePrecisionAutomatic;
1460+
// This is not initialized or used anywhere
1461+
// //! How to determine the number of decimal places used to
1462+
// //! display the mouse position
1463+
// bool mMousePrecisionAutomatic;
14631464
//! The number of decimal places to use if not automatic
14641465
unsigned int mMousePrecisionDecimalPlaces;
14651466
/** QGIS-internal vector feature clipboard */

0 commit comments

Comments
 (0)
Please sign in to comment.