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

(cherry picked from commit 15435ad)
  • Loading branch information
nyalldawson committed Nov 1, 2018
1 parent b9f36f1 commit 030d266
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 030d266

Please sign in to comment.