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:
parent
1131a2915b
commit
e62a69a2a9
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -83,6 +83,7 @@ SyncthingApplet::~SyncthingApplet()
|
||||||
void SyncthingApplet::init()
|
void SyncthingApplet::init()
|
||||||
{
|
{
|
||||||
LOAD_QT_TRANSLATIONS;
|
LOAD_QT_TRANSLATIONS;
|
||||||
|
setupCommonQtApplicationAttributes();
|
||||||
|
|
||||||
Applet::init();
|
Applet::init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue