Skip to content
Permalink
Browse files

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

…bled

Fixes #20295

(cherry picked from commit 15435ad)
  • Loading branch information
nyalldawson committed Oct 31, 2018
1 parent b9f36f1 commit 030d266821a8d23bde8f62ebc7e983e8fbbe58cc
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgisapp.cpp
@@ -10378,7 +10378,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 030d266

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