Skip to content

Commit

Permalink
Fix crash on opening options on debug builds where open CL is not ena…
Browse files Browse the repository at this point in the history
…bled

Fixes #20295
  • Loading branch information
nyalldawson committed Oct 31, 2018
1 parent 41c31b4 commit 15435ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 15435ad

Please sign in to comment.