diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/application.cpp | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/application.cpp b/src/application.cpp index 985de818..63be0f51 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -676,7 +676,11 @@ void Application::setPrivateBrowsingMode(bool b)                       text, caption, KStandardGuiItem::cont(), KStandardGuiItem::cancel(),                       i18n("don't ask again"));          if (button != KMessageBox::Continue) +        { +            // The user canceled so we should uncheck the box +            _privateBrowsingAction->setChecked(false);              return; +        }          settings->setAttribute(QWebSettings::PrivateBrowsingEnabled, true);          _privateBrowsingAction->setChecked(true); | 
