~renatofilho/dialer-app/im-service

« back to all changes in this revision

Viewing changes to src/qml/Dialogs/UssdErrorDialog.qml

  • Committer: Bileto Bot
  • Author(s): Florian Boucault
  • Date: 2016-08-25 20:19:08 UTC
  • mfrom: (540.1.8 improved_startup_time)
  • Revision ID: ci-train-bot@canonical.com-20160825201908-xazjyo49spr7pvz9
Improve startup time (300ms for hot starts on krillin):
- Delay loading bottom edge further
- Load Icons asynchronously
- KeypadButton: use MouseArea instead of AbstractButton
- Made all Dialog Components compile asynchronously

Approved by: system-apps-ci-bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2012-2016 Canonical Ltd.
 
3
 *
 
4
 * This file is part of dialer-app.
 
5
 *
 
6
 * dialer-app is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; version 3.
 
9
 *
 
10
 * dialer-app is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
import QtQuick 2.0
 
20
 
 
21
import Ubuntu.Components 1.3
 
22
import Ubuntu.Components.Popups 1.3
 
23
 
 
24
Dialog {
 
25
    id: ussdErrorDialog
 
26
    objectName: "ussdErrorDialog"
 
27
    visible: false
 
28
    title: i18n.tr("Error")
 
29
    text: i18n.tr("Invalid USSD code")
 
30
    Button {
 
31
        text: i18n.tr("Dismiss")
 
32
        onClicked: PopupUtils.close(ussdErrorDialog)
 
33
    }
 
34
}