author | clem <clem> | 2004-10-07 15:08:29 (UTC) |
---|---|---|
committer | clem <clem> | 2004-10-07 15:08:29 (UTC) |
commit | 46ad0a2d02a09243474fca73c50a73e591b63f7b (patch) (side-by-side diff) | |
tree | 0258458c8576f3008956fe1cc4e132a6f0b1f395 | |
parent | 6f940f13c32faedef26d23dd931946225d101457 (diff) | |
download | opie-46ad0a2d02a09243474fca73c50a73e591b63f7b.zip opie-46ad0a2d02a09243474fca73c50a73e591b63f7b.tar.gz opie-46ad0a2d02a09243474fca73c50a73e591b63f7b.tar.bz2 |
fixed indentation
-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 8440b87..17e8705 100644 --- a/libopie2/opiesecurity/multiauthmainwindow.cpp +++ b/libopie2/opiesecurity/multiauthmainwindow.cpp @@ -98,48 +98,48 @@ void MultiauthMainWindow::proceed() { alreadyDone = true; return; } else { proceedButton->setText("Another try?"); QString resultMessage; if (result == 0) { // authentication has succeeded, adapt interface then message->setText( "<center><h3>" + tr("Congratulations! Your authentication has been successful.") + "</h3></center>" ); quit->setText("Enter Opie"); if ( quit->isHidden() ) { // that means we don't allow to bypass, but now we can show and connect this button QObject::connect(quit, SIGNAL(clicked()), this, SLOT(close())); quit->show(); } else { if ( message2 != 0 ) message2->hide(); } } else { // authentication has failed, explain that according to allowBypass message->setText( "<center><h3>" + tr("You have <b>not</b> succeeded enough authentication steps!") + "</h3></center>" ); proceedButton->show(); if ( allowBypass == true ) { message2->setText( "<center><p>" + tr("Be careful: if this was not a <b>simulation</b>, you would have to go back through all the steps now.") + "</p></center>" ); message2->show(); + } } } } -} /** When we don't show explanatory screens and we succeed authentication, * as early as during the proceed() call of the constructor, the caller must know * (through this function) authentication has already been succeeded.. * \todo try to avoid this hack? */ bool MultiauthMainWindow::isAlreadyDone() { return alreadyDone; } } } |