💻 Desktop sync client for Nextcloud
Перейти к файлу
Olivier Goffart b8444053b8 AccountSettings: Fix the size of the "Add Sync Folder Connection" button
The problem here is that the QPainter is created on the viewport with is a
QWidget, but QAbstractItemView can have a different font, and the
QStyleOptionViewItem::font is this font. QStyleOptionViewItem::font
was used to compute the sizeHint, and the default font from the QPainter
was used to draw the text, so they could be not in sync.

Fix it by always using the font for QPushButton

Reported in
https://github.com/owncloud/client/issues/6156#issuecomment-346576328
2017-11-25 16:07:06 +01:00
.github
admin
binary@3425fab2c6
cmake
csync/tests/csync_tests
doc
resources
shell_integration
src AccountSettings: Fix the size of the "Add Sync Folder Connection" button 2017-11-25 16:07:06 +01:00
test
theme
translations
.clang-format
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.tag
.travis.yml
CMakeLists.txt
CONTRIBUTING.md
COPYING
COPYING.documentation
CPackOptions.cmake.in
ChangeLog
Jenkinsfile
OWNCLOUD.cmake
OwnCloudCPack.cmake
README.md
VERSION.cmake
client.qrc
config.h.in
mirall.desktop.in
sync-exclude.lst
theme.qrc
version.h.in

README.md

ownCloud Desktop Client

Build Status

Introduction

The ownCloud Desktop Client is a tool to synchronize files from ownCloud Server with your computer.

Download

Binary packages

Source code

The ownCloud Desktop Client is developed in Git. Since Git makes it easy to fork and improve the source code and to adapt it to your need, many copies can be found on the Internet, in particular on GitHub. However, the authoritative repository maintained by the developers is located at https://github.com/owncloud/client.

Building the source code

Building the Client in the ownCloud Desktop Client manual.

Maintainers and Contributors

The maintainers of this repository are:

ownCloud Desktop Client is developed by the ownCloud community and receives patches from a variety of authors.

Reporting issues and contributing

If you find any bugs or have any suggestion for improvement, please file an issue at https://github.com/owncloud/client/issues. Do not contact the authors directly by mail, as this increases the chance of your report being lost.

If you created a patch, please submit a Pull Request. For non-trivial patches, we need you to sign the Contributor Agreement before we can accept your patch.

If you want to contact us, e.g. before starting a more complex feature, you can join us at #owncloud-client-dev.

License

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.