Enable High-DPI scaling/pixmaps in plasmoid

* Fix too small icons, see
  https://github.com/Martchus/syncthingtray/issues/71
* Still needs testing on a real 4k screen
* Hopefully this does not distrub the rest of the shell
This commit is contained in:
Martchus 2020-07-23 18:47:35 +02:00
parent 1131a2915b
commit e62a69a2a9
3 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@ set(META_APP_CATEGORIES "Network;FileTransfer")
set(META_GUI_OPTIONAL false) set(META_GUI_OPTIONAL false)
set(META_VERSION_MAJOR 0) set(META_VERSION_MAJOR 0)
set(META_VERSION_MINOR 11) set(META_VERSION_MINOR 11)
set(META_VERSION_PATCH 1) set(META_VERSION_PATCH 2)
set(META_VERSION_EXACT_SONAME ON) set(META_VERSION_EXACT_SONAME ON)
set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON) set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON)

View File

@ -8,7 +8,7 @@ endforeach ()
set(TS_FILES ../translations/${META_PROJECT_NAME}_de_DE.ts ../translations/${META_PROJECT_NAME}_en_US.ts) set(TS_FILES ../translations/${META_PROJECT_NAME}_de_DE.ts ../translations/${META_PROJECT_NAME}_en_US.ts)
# find qtutilities # find qtutilities
find_package(qtutilities${CONFIGURATION_PACKAGE_SUFFIX} 6.0.0 REQUIRED) find_package(qtutilities${CONFIGURATION_PACKAGE_SUFFIX} 6.2.0 REQUIRED)
use_qt_utilities() use_qt_utilities()
# check whether qtutilities supports DBus notifications # check whether qtutilities supports DBus notifications

View File

@ -83,6 +83,7 @@ SyncthingApplet::~SyncthingApplet()
void SyncthingApplet::init() void SyncthingApplet::init()
{ {
LOAD_QT_TRANSLATIONS; LOAD_QT_TRANSLATIONS;
setupCommonQtApplicationAttributes();
Applet::init(); Applet::init();