Accepting request 412767 from home:wolfi323:test

- Add kdesu-Do-not-change-minimum-size.patch to prevent the displayed command line text running into the password field (boo#958785)

OBS-URL: https://build.opensuse.org/request/show/412767
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kde-cli-tools5?expand=0&rev=115
This commit is contained in:
Luca Beltrame 2016-07-22 11:52:52 +00:00 committed by Git OBS Bridge
parent e765f55dd2
commit f6c8e1edd1
3 changed files with 33 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 22 10:43:13 UTC 2016 - wbauer@tmo.at
- Add kdesu-Do-not-change-minimum-size.patch to prevent the
displayed command line text running into the password field
(boo#958785)
-------------------------------------------------------------------
Wed Jul 20 08:54:18 UTC 2016 - hrvoje.senjan@gmail.com

View File

@ -27,6 +27,8 @@ Url: http://www.kde.org
Source: kde-cli-tools-%{version}.tar.xz
# PATCH-FIX-OPENSUSE kdesu-add-some-i18n-love.patch -- boo#852256
Patch0: kdesu-add-some-i18n-love.patch
# PATCH-FIX-UPSTREAM kdesu-Do-not-change-minimum-size.patch boo#958785 -- prevent the displayed command line text running into the password field
Patch1: kdesu-Do-not-change-minimum-size.patch
BuildRequires: extra-cmake-modules >= 1.3.0
BuildRequires: kf5-filesystem
BuildRequires: xz
@ -63,6 +65,7 @@ Additional CLI tools for KDE applications and workspaces.
%prep
%setup -q -n kde-cli-tools-%{version}
%patch0 -p1
%patch1 -p1
%build
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}

View File

@ -0,0 +1,23 @@
From: Christoph Feck <cfeck@kde.org>
Date: Thu, 21 Jul 2016 21:34:02 +0000
Subject: Do not change minimumSize()
X-Git-Url: http://quickgit.kde.org/?p=kde-cli-tools.git&a=commitdiff&h=dc023ba3cbd6e6fcbe8a6b13e1796a2c0744a5a2
---
Do not change minimumSize()
KPasswordDialog knows better.
---
--- a/kdesu/sudlg.cpp
+++ b/kdesu/sudlg.cpp
@@ -59,8 +59,6 @@
if( withIgnoreButton ) {
connect(buttonBox()->button(QDialogButtonBox::Ignore), SIGNAL(clicked()), SLOT(slotUser1()));
}
-
- setMinimumSize(minimumSizeHint());
}