summaryrefslogtreecommitdiff
path: root/libopie2/opiesecurity
Unidiff
Diffstat (limited to 'libopie2/opiesecurity') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiesecurity/multiauthmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiesecurity/multiauthmainwindow.cpp b/libopie2/opiesecurity/multiauthmainwindow.cpp
index c6229c7..fa247ab 100644
--- a/libopie2/opiesecurity/multiauthmainwindow.cpp
+++ b/libopie2/opiesecurity/multiauthmainwindow.cpp
@@ -11,25 +11,25 @@ MultiauthMainWindow::MultiauthMainWindow()
11 : QDialog(0, "main Opie multiauth modal dialog", TRUE, 11 : QDialog(0, "main Opie multiauth modal dialog", TRUE,
12 Qt::WStyle_NoBorder | Qt::WStyle_Customize | Qt::WStyle_StaysOnTop) 12 Qt::WStyle_NoBorder | Qt::WStyle_Customize | Qt::WStyle_StaysOnTop)
13 13
14{ 14{
15 alreadyDone = false; 15 alreadyDone = false;
16 // initializes widget pointers which not always point to an object 16 // initializes widget pointers which not always point to an object
17 quit = 0; 17 quit = 0;
18 message2 = 0; 18 message2 = 0;
19 19
20 Config *pcfg = new Config("Security"); 20 Config *pcfg = new Config("Security");
21 pcfg->setGroup("Misc"); 21 pcfg->setGroup("Misc");
22 explanScreens = pcfg->readBoolEntry("explanScreens", true); 22 explanScreens = pcfg->readBoolEntry("explanScreens", true);
23 allowBypass = pcfg->readBoolEntry("allowBypass", true); 23 allowBypass = pcfg->readBoolEntry("allowBypass", false);
24 delete pcfg; 24 delete pcfg;
25 25
26 layout = new QVBoxLayout(this); 26 layout = new QVBoxLayout(this);
27 layout->setSpacing(11); 27 layout->setSpacing(11);
28 layout->setMargin(11); 28 layout->setMargin(11);
29 layout->setAlignment( Qt::AlignTop ); 29 layout->setAlignment( Qt::AlignTop );
30 30
31 // if explanScreens is false, we don't show any text in the QDialog, 31 // if explanScreens is false, we don't show any text in the QDialog,
32 // and we proceed directly 32 // and we proceed directly
33 if ( explanScreens == true ) 33 if ( explanScreens == true )
34 { 34 {
35 title = new QLabel("<center><h1>" + tr("Welcome to Opie Multi-authentication Framework") + "</h1></center>", this); 35 title = new QLabel("<center><h1>" + tr("Welcome to Opie Multi-authentication Framework") + "</h1></center>", this);