From b170fae8b21e25b9ddfc66f985e7d7040ab3d2c0 Mon Sep 17 00:00:00 2001 From: Niels Weber Date: Thu, 27 Mar 2014 10:49:40 +0100 Subject: Remove some trailing whitespace. Change-Id: Ia417652a44c99008143f3dc7c94c0853b129fea9 Reviewed-by: Kai Koehne --- src/libs/installer/adminauthorization_x11.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libs/installer/adminauthorization_x11.cpp') diff --git a/src/libs/installer/adminauthorization_x11.cpp b/src/libs/installer/adminauthorization_x11.cpp index 6d5a52357..d2d1ad669 100644 --- a/src/libs/installer/adminauthorization_x11.cpp +++ b/src/libs/installer/adminauthorization_x11.cpp @@ -206,11 +206,11 @@ bool AdminAuthorization::execute(QWidget *parent, const QString &program, const ::write(masterFD, pwd.data(), pwd.length()); ::write(masterFD, "\n", 1); ::read(masterFD, buf, pwd.length() + 1); - } + } } if (bytes == 0) ::usleep(100000); - } + } if (!errData.isEmpty()) { printError(parent, QString::fromLocal8Bit(errData.constData())); return false; @@ -223,9 +223,9 @@ bool AdminAuthorization::execute(QWidget *parent, const QString &program, const ::close(pipedData[1]); if (exited) return exitStatus == 0; - + return false; - } + } // child process else { @@ -234,7 +234,7 @@ bool AdminAuthorization::execute(QWidget *parent, const QString &program, const for (int sig = 1; sig < NSIG; ++sig) signal(sig, SIG_DFL); signal(SIGHUP, SIG_IGN); - + ::setsid(); ::ioctl(slaveFD, TIOCSCTTY, 1); -- cgit v1.2.3