Skip to content
Permalink
Browse files

Fix crash on opening options on debug builds where open CL is not ena…

…bled

Fixes #20295
  • Loading branch information
nyalldawson committed Oct 31, 2018
1 parent 41c31b4 commit 15435ad56e24bd8dcfdee1556eb25e42fa31bcb3
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgisapp.cpp
@@ -10384,7 +10384,9 @@ QMap< QString, int > QgisApp::optionsPagesMap()
sOptionsPagesMap.insert( tr( "Network" ), 13 );
sOptionsPagesMap.insert( tr( "Locator" ), 14 );
sOptionsPagesMap.insert( tr( "Advanced" ), 15 );
#ifdef HAVE_OPENCL
sOptionsPagesMap.insert( tr( "Acceleration" ), 16 );
#endif
} );

QMap< QString, int > map = sOptionsPagesMap;

0 comments on commit 15435ad

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