-rw-r--r-- | libopie2/opiesecurity/multiauthmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiesecurity/multiauthmainwindow.cpp b/libopie2/opiesecurity/multiauthmainwindow.cpp index fb720bb..e60d245 100644 --- a/libopie2/opiesecurity/multiauthmainwindow.cpp +++ b/libopie2/opiesecurity/multiauthmainwindow.cpp | |||
@@ -47,33 +47,33 @@ MultiauthMainWindow::MultiauthMainWindow(bool allowBypass = false) | |||
47 | } | 47 | } |
48 | 48 | ||
49 | layout->addWidget(title); | 49 | layout->addWidget(title); |
50 | layout->addWidget(message); | 50 | layout->addWidget(message); |
51 | proceedButton = new QPushButton(tr("Proceed..."), this); | 51 | proceedButton = new QPushButton(tr("Proceed..."), this); |
52 | layout->addWidget(proceedButton, 0, Qt::AlignHCenter); | 52 | layout->addWidget(proceedButton, 0, Qt::AlignHCenter); |
53 | 53 | ||
54 | QObject::connect(proceedButton, SIGNAL(clicked()), this, SLOT(proceed())); | 54 | QObject::connect(proceedButton, SIGNAL(clicked()), this, SLOT(proceed())); |
55 | 55 | ||
56 | if ( explanScreens == true ) | 56 | if ( explanScreens == true ) |
57 | { | 57 | { |
58 | quit = new QPushButton("Exit", this); | 58 | quit = new QPushButton("Exit", this); |
59 | layout->addWidget(quit, 0, Qt::AlignHCenter); | 59 | layout->addWidget(quit, 0, Qt::AlignHCenter); |
60 | if ( allowBypass == true ) | 60 | if ( allowBypass == true ) |
61 | { | 61 | { |
62 | // very important: we can close the widget through the quit button, and bypass authentication, only if allowBypass is set! | 62 | // very important: we can close the widget through the quit button, and bypass authentication, only if allowBypass is set! |
63 | message2 = new QLabel("<center><i>" + tr("Note: this 'exit' button only appears during <b>simulations</b>, like the one we are in.") + "</i></center>", this); | 63 | message2 = new QLabel("<center><i>" + tr("Note: this 'exit' button only appears during <b>simulations</b>, like the one we are in. If you don't succeed an authentication step at some point, it will keep on asking you to authenticate, but remember you can <b>skip</b> it too (and have access to this button again).") + "</i></center>", this); |
64 | layout->addWidget(message2); | 64 | layout->addWidget(message2); |
65 | QObject::connect(quit, SIGNAL(clicked()), this, SLOT(close())); | 65 | QObject::connect(quit, SIGNAL(clicked()), this, SLOT(close())); |
66 | } | 66 | } |
67 | else | 67 | else |
68 | { | 68 | { |
69 | quit->hide(); | 69 | quit->hide(); |
70 | } | 70 | } |
71 | 71 | ||
72 | } | 72 | } |
73 | else | 73 | else |
74 | { | 74 | { |
75 | // we will need this button only if runPlugins() fails in proceed() | 75 | // we will need this button only if runPlugins() fails in proceed() |
76 | proceedButton->hide(); | 76 | proceedButton->hide(); |
77 | // let's proceed now | 77 | // let's proceed now |
78 | proceed(); | 78 | proceed(); |
79 | } | 79 | } |