Skip to content
Permalink
Browse files

Merge pull request #1157 from kiith-sa/master

Fix #9213 ('bad_alloc' error at QGIS start)
  • Loading branch information
wonder-sk committed Feb 10, 2014
2 parents 928613c + 3a075a6 commit ac9eed7e052428722cd66ce0e39aee933c8176e6
Showing with 5 additions and 3 deletions.
  1. +1 −0 src/app/qgisapp.cpp
  2. +4 −3 src/app/qgisapp.h
@@ -446,6 +446,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
: QMainWindow( parent, fl )
, mSplash( splash )
, mInternalClipboard( 0 )
, mMousePrecisionDecimalPlaces( 0 )
, mShowProjectionTab( false )
, mPythonUtils( NULL )
#ifdef Q_OS_WIN
@@ -1457,9 +1457,10 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
QStringList mRecentProjectPaths;
//! Print composers of this project, accessible by id string
QSet<QgsComposer*> mPrintComposers;
//! How to determine the number of decimal places used to
//! display the mouse position
bool mMousePrecisionAutomatic;
// This is not initialized or used anywhere
// //! How to determine the number of decimal places used to
// //! display the mouse position
// bool mMousePrecisionAutomatic;
//! The number of decimal places to use if not automatic
unsigned int mMousePrecisionDecimalPlaces;
/** QGIS-internal vector feature clipboard */

0 comments on commit ac9eed7

Please sign in to comment.
You can’t perform that action at this time.