Skip to content

Commit

Permalink
Fix #9213 ('bad_alloc' error at QGIS start)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiith-Sa committed Feb 10, 2014
1 parent b05c93c commit 3a075a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions src/app/qgisapp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3a075a6

Please sign in to comment.