nextcloud-desktop/nextcloud-fix-HiDPI-window-size.patch
Atri Bhattacharya 61f1a67b9c Accepting request 1224841 from home:RN:branches:network
- Update to version 3.14.3:
  * create a permanent log of delete actions (gh#nextcloud/desktop#7381)
  * detect the terms of service app is requiring the user to sign them (gh#nextcloud/desktop#7386)
  * content access denied error during discovery: verify server access (gh#nextcloud/desktop#7392)
  * properly detect need to sign terms of service state (gh#nextcloud/desktop#7396)
  * improve again state tracking with terms of service app (gh#nextcloud/desktop#7406)
  * Change defaults of promptDeleteFiles to false (gh#nextcloud/desktop#7411)
  * Update share link for AppImage tool (gh#nextcloud/desktop#7440)
  * Bugfix update channels (gh#nextcloud/desktop#7443)
  * Only display server name in multiple override servers dropdown (gh#nextcloud/desktop#7424)

OBS-URL: https://build.opensuse.org/request/show/1224841
OBS-URL: https://build.opensuse.org/package/show/network/nextcloud-desktop?expand=0&rev=154
2024-11-18 11:45:16 +00:00

28 lines
1.1 KiB
Diff

Index: desktop-3.9.0/src/gui/main.cpp
===================================================================
--- desktop-3.9.0.orig/src/gui/main.cpp
+++ desktop-3.9.0/src/gui/main.cpp
@@ -65,6 +65,8 @@ int main(int argc, char **argv)
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
+ QApplication::setHighDpiScaleFactorRoundingPolicy(
+ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#ifdef Q_OS_MAC
Mac::CocoaInitializer cocoaInit; // RIIA
#endif
Index: desktop-3.9.0/src/crashreporter/main.cpp
===================================================================
--- desktop-3.9.0.orig/src/crashreporter/main.cpp
+++ desktop-3.9.0/src/crashreporter/main.cpp
@@ -25,6 +25,8 @@
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
+ QApplication::setHighDpiScaleFactorRoundingPolicy(
+ Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
#ifdef Q_OS_WIN
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
#endif // !Q_OS_WIN