[Pkg-owncloud-commits] [owncloud-client] 22/47: SSLButton: Omit arrow on Windows which can't display it
Sandro Knauß
hefee-guest at moszumanska.debian.org
Mon Feb 17 18:06:33 UTC 2014
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 bcf73cfc405a053ee2196367907a170cc08b88a0
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Wed Feb 12 17:51:11 2014 +0100
SSLButton: Omit arrow on Windows which can't display it
---
src/mirall/sslbutton.cpp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/mirall/sslbutton.cpp b/src/mirall/sslbutton.cpp
index dd055ed..0062605 100644
--- a/src/mirall/sslbutton.cpp
+++ b/src/mirall/sslbutton.cpp
@@ -127,8 +127,11 @@ QMenu* SslButton::buildCertMenu(QMenu *parent, const QSslCertificate& cert,
QString txt;
if (pos > 0) {
txt += QString(2*pos, ' ');
- txt += QChar(0x21AA); // nicer '->' symbol
- txt += QChar(' ');
+ if (!Utility::isWindows()) {
+ // doesn't seem to work reliably on Windows
+ txt += QChar(0x21AA); // nicer '->' symbol
+ txt += QChar(' ');
+ }
}
QString certId = cn.isEmpty() ? ou : cn;
--
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