-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 6404811..8440b87 100644 --- a/libopie2/opiesecurity/multiauthmainwindow.cpp +++ b/libopie2/opiesecurity/multiauthmainwindow.cpp @@ -1,37 +1,37 @@ #include "multiauthmainwindow.h" #include "multiauthcommon.h" #include <qpe/config.h> namespace Opie { namespace Security { /// Initializes widgets according to allowBypass argument (false by default) and explanScreens config /** * \note if allowBypass is true, we will show explanatory screens anyway */ -MultiauthMainWindow::MultiauthMainWindow(bool allowBypass = false) +MultiauthMainWindow::MultiauthMainWindow(bool allowBypass) : QDialog(0, "main Opie multiauth modal dialog", TRUE, Qt::WStyle_NoBorder | Qt::WStyle_Customize | Qt::WStyle_StaysOnTop) { alreadyDone = false; // initializes widget pointers which not always point to an object quit = 0; message2 = 0; if (allowBypass == true) explanScreens = true; else { Config *pcfg = new Config("Security"); pcfg->setGroup("Misc"); explanScreens = pcfg->readBoolEntry("explanScreens", true); delete pcfg; } layout = new QVBoxLayout(this); layout->setSpacing(11); layout->setMargin(11); layout->setAlignment( Qt::AlignTop ); |