<commit_before>/****************************************************************************
**
** Copyright (C) 2014 Jolla Ltd.
** Contact: <NAME> <siteshwar AT gmail.com>
** Contact: <NAME> <<EMAIL>>
**
****************************************************************************/

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

import QtQuick 2.2
import Sailfish.Silica 1.0

ConfirmDialog {
    property Item browserPage

    //: Warning of changing browser configurations.
    //% "Changing these advanced settings can cause issues with stability, security and performance of Sailfish Browser. Continue ?"
    text: qsTrId("sailfish_browser-la-config-warning");
    acceptDestination: Component {
        ConfigDialog {
            // On accept pop back to browserPage
            acceptDestination: browserPage
            acceptDestinationAction: PageStackAction.Pop
        }
    }
}<commit_msg>[sailfish-browser] Make advanced settings dialog replaceable. Fixes JB#30398<commit_after>/****************************************************************************
**
** Copyright (C) 2014 Jolla Ltd.
** Contact: <NAME> <siteshwar AT gmail.com>
** Contact: <NAME> <<EMAIL>>
**
****************************************************************************/

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

import QtQuick 2.2
import Sailfish.Silica 1.0

ConfirmDialog {
    property Item browserPage

    //: Warning of changing browser configurations.
    //% "Changing these advanced settings can cause issues with stability, security and performance of Sailfish Browser. Continue ?"
    text: qsTrId("sailfish_browser-la-config-warning");
    acceptDestinationAction: PageStackAction.Replace
    acceptDestination: Component {
        ConfigDialog {
            // On accept pop back to browserPage
            acceptDestination: browserPage
            acceptDestinationAction: PageStackAction.Pop
        }
    }
}
{'fraction_non_alphanumeric': 0.2167113494191242, 'fraction_numerical': 0.012957998212689902, 'mean_word_length': 3.753715498938429, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2874143', 'n_tokens_mistral': 587, 'n_tokens_neox': 538, 'n_words': 197}