summaryrefslogtreecommitdiff
path: root/libopie2/opiesecurity/multiauthmainwindow.cpp
authorzecke <zecke>2004-07-17 20:03:12 (UTC)
committer zecke <zecke>2004-07-17 20:03:12 (UTC)
commitd68baedc489a7ab4ab1419144608d28d5336a884 (patch) (side-by-side diff)
tree487ee1528b6696a7bd1954eeae0d6b600cd57e9f /libopie2/opiesecurity/multiauthmainwindow.cpp
parent658ea4b6442d26b4ef0cbde5e9f98433b01dff57 (diff)
downloadopie-d68baedc489a7ab4ab1419144608d28d5336a884.zip
opie-d68baedc489a7ab4ab1419144608d28d5336a884.tar.gz
opie-d68baedc489a7ab4ab1419144608d28d5336a884.tar.bz2
Add Clements reworked and OMAF capable Security Settings application
This adds configuration of OMAF For now it disables quicklaunch which will be changed Also a demo application is added
Diffstat (limited to 'libopie2/opiesecurity/multiauthmainwindow.cpp') (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
@@ -7,33 +7,33 @@ namespace Opie {
namespace Security {
/// Initializes widgets according to allowBypass and explanScreens config
MultiauthMainWindow::MultiauthMainWindow()
: 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;
Config *pcfg = new Config("Security");
pcfg->setGroup("Misc");
explanScreens = pcfg->readBoolEntry("explanScreens", true);
- allowBypass = pcfg->readBoolEntry("allowBypass", true);
+ allowBypass = pcfg->readBoolEntry("allowBypass", false);
delete pcfg;
layout = new QVBoxLayout(this);
layout->setSpacing(11);
layout->setMargin(11);
layout->setAlignment( Qt::AlignTop );
// if explanScreens is false, we don't show any text in the QDialog,
// and we proceed directly
if ( explanScreens == true )
{
title = new QLabel("<center><h1>" + tr("Welcome to Opie Multi-authentication Framework") + "</h1></center>", this);
message = new QLabel("<center><h3>" + tr("Launching authentication plugins...") + "</h3></center>", this);
} else {
title = new QLabel("", this);
message = new QLabel("", this);