[Pkg-owncloud-commits] [owncloud-client] 454/484: ShareLinkWidget: Set state of passwd checkbox always.

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit e6ab047751b9d56e541d230aa0c8cf0ba069aa59
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Dec 2 10:05:56 2015 +0100

    ShareLinkWidget: Set state of passwd checkbox always.
---
 src/gui/sharelinkwidget.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp
index d482f60..da3ff87 100644
--- a/src/gui/sharelinkwidget.cpp
+++ b/src/gui/sharelinkwidget.cpp
@@ -236,9 +236,8 @@ void ShareLinkWidget::slotSharesFetched(const QList<QSharedPointer<Share>> &shar
             _ui->widget_shareLink->show();
             _ui->checkBox_shareLink->setChecked(true);
 
-            if (!_passwordRequired) {
-                _ui->checkBox_password->setEnabled(true);
-            }
+            _ui->checkBox_password->setEnabled(!_passwordRequired);
+
             if (_share->isPasswordSet()) {
                 _ui->lineEdit_password->setEnabled(true);
                 _ui->checkBox_password->setChecked(true);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list