Commit graph

14 commits

Author SHA1 Message Date
Ivailo Monev
78fa7ed2c6 plasma: mark Plasma::FrameSvg::prefix() as const
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-30 23:23:26 +03:00
Ivailo Monev
aef479ab03 plasma: do not guess the mask color in FrameSvg::mask()
using the mask created by QPixmap::mask() is much more reliable way
to get one, fixes masking in case compositor is not active for example

side note: feels good to finally land the fix for masking

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-06 09:26:21 +02:00
Ivailo Monev
cb24795b43 generic: remove unused header inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-02-22 19:46:08 +02:00
Ivailo Monev
df60147c5f plasma: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-29 17:16:43 +03:00
Ivailo Monev
1b6d4680b3 plasma: remove redundant break statements in FrameSvg
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-01 18:11:01 +03:00
Ivailo Monev
1e3b872a26 generic: get rid of the QStringBuilder requirement
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-10-29 05:06:31 +00:00
Ivailo Monev
bc1e1c3eb4 Revert "plasma: simplify alpha mask creation"
This reverts commit 61212b4527.
2016-08-15 14:27:26 +00:00
Ivailo Monev
61212b4527 plasma: simplify alpha mask creation 2015-11-10 12:08:43 +02:00
Ivailo Monev
3d14a4b88b generic: code shrinks 2015-09-30 10:37:53 +03:00
Ivailo Monev
8dc26843f2 plasma: minor frame optimizations 2015-09-28 10:10:47 +00:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
4eda1cb4f8 variables cleanup and warnings fixup 2014-11-26 03:33:09 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00