the only use case is to launch ksnapshot which can be done by
plasma-desktop, some of the actions code is borked (notably window
matching, global and menu actions were working) and I have no
intention to fix it. even if fixed when a window (and thus possibly
application) key is grabbed there is a chance the window (application)
may want to grab the grabbed key and fail (i.e. grab conflict) so it
shall be left to the application to set what keys shall be global
(grabbed) hence the bits to start ksnapshot are moved to plasma-desktop
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the default Plasma::Theme font is already set to QApplication::font() by
Plasma::Theme itself, it has configuration option for it too which is to
read the font setting from the application "General" config group. for
reference:
kdelibs/plasma/theme.cpp
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
the global reference is increased unconditionally in the constructor, also
the quit() slot shadows KApplication::quit() slot
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
if Xrender is not found a fatal message will be issued by the top-level
CMakeLists file because it is required by KWin compositor for example
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>