lp://qastaging/~lubuntu-dev/lxde/libqtxdg
- Get this branch:
- bzr branch lp://qastaging/~lubuntu-dev/lxde/libqtxdg
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at https://github.com/lxde/libqtxdg.git.
Last successful import was .
Recent revisions
- 295. By palinek
-
xdgiconloader: Cache ScalableFollows
ColorEntry properly ..by using the QSvgIconEngine under the hood.
This was done previously in be58584d0e6c11f
eaa6929099885ff 2a7d882401,
but was reverted by 81e6ffa52ff2ec6d6bcff7e936b6a7 fe04c5bbdb (this
completely lacks any caching and does read/process file and generate
image for each pixmap() call).In this commit we don't create the (private) QSvgIconEngine manually,
but use the operators <<, >> to achieve it. Thus reducing the chance
to break things with future Qt versions (the (de)serialization will
never change for requested QDataStream::Version) . - 292. By Luís Pereira
-
Normalize signal/slot signatures
QObject::connect() brings a severe performance penalty when not using
normalized signatures. Signal lookup is first attempted with the signature
as-is, and if that fails QMetaObject::normalizedSign ature() called. That means, when using non-normalized signal/slot signatures, you not only
pay for a strcpy(), but also for a doomed-to-fail first lookup attempt.
Sure, connects are usually done during startup, and a profiler won’t show
you, but using non-normalized signatures is hereby firmly put into the
realm of premature pessimisation.Reference:
https://marcmutz. wordpress. com/effective- qt/prefer- to-use- normalised- signalslot- signatures/ - 291. By Tsu Jan
-
Fix symbolic SVG icons with Qt5.10
Fixes https:/
/github. com/lxde/ lxqt/issues/ 1425 by using less private stuff.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)