History

editing the interstitial page

Dante Ruiz committed 8 years ago

Commit 2f911951 parent 98dafa34 files · +20 −21Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+2−5
@@ -3488,14 +3488,11 @@ bool Application::isServerlessMode() const { · 3487 unmodified lines
34883488 }
34893489
34903490 bool Application::isInterstitialMode() const {
3491− bool interstitialModeEnabled = Menu::getInstance()->isOptionChecked("Enable Interstitial");
3492− return interstitialModeEnabled ? _interstitialMode : false;
3491+ return _interstitialMode;
34933492 }
34943493
34953494 void Application::setIsInterstitialMode(bool interstitialMode) {
3496− auto menu = Menu::getInstance();
3497− bool interstitialModeEnabled = menu->isOptionChecked("Enable Interstitial");
3498− if (_interstitialMode != interstitialMode && interstitialModeEnabled) {
3495+ if (_interstitialMode != interstitialMode) {
34993496 _interstitialMode = interstitialMode;
35003497 emit interstitialModeChanged(_interstitialMode);
35013498 }