[Pkg-owncloud-commits] [owncloud-client] 74/218: General settings: Set left margin of layout to zero.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 17 14:30:47 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 98e6d61d1b5291dd2fb36dd481a324ff20b3392a
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed Sep 9 15:52:22 2015 +0200
General settings: Set left margin of layout to zero.
This fixes the vertical alignment of the checkboxes, see bug #3758
---
src/gui/generalsettings.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/gui/generalsettings.cpp b/src/gui/generalsettings.cpp
index 3951f17..703dd29 100644
--- a/src/gui/generalsettings.cpp
+++ b/src/gui/generalsettings.cpp
@@ -69,6 +69,13 @@ GeneralSettings::GeneralSettings(QWidget *parent) :
_ui->crashreporterCheckBox->setVisible(false);
#endif
+ /* Set the left contents margin of the layout to zero to make the checkboxes
+ * align properly vertically , fixes bug #3758
+ */
+ int m0, m1, m2, m3;
+ _ui->horizontalLayout_3->getContentsMargins( &m0, &m1, &m2, &m3 );
+ _ui->horizontalLayout_3->setContentsMargins(0, m1, m2, m3 );
+
// OEM themes are not obliged to ship mono icons, so there
// is no point in offering an option
QString themeDir = QString::fromLatin1(":/client/theme/%1/")
--
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