don't link to xml and iconthemes
This commit is contained in:
parent
8155f2d542
commit
f7e25fe696
@ -115,10 +115,10 @@ PRIVATE
|
||||
Qt5::Sql
|
||||
Qt5::Svg
|
||||
Qt5::DBus
|
||||
Qt5::Xml
|
||||
#Qt5::Xml
|
||||
KF5::Archive
|
||||
KF5::GuiAddons #kimagecache
|
||||
KF5::IconThemes
|
||||
#KF5::IconThemes
|
||||
KF5::I18n
|
||||
KF5::KIOCore
|
||||
KF5::KIOWidgets
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include <cmath>
|
||||
|
||||
#include <QDebug>
|
||||
#include <kiconloader.h>
|
||||
#include <klocalizedstring.h>
|
||||
#include <kwindowsystem.h>
|
||||
|
||||
|
@ -30,7 +30,6 @@
|
||||
|
||||
#include <QDebug>
|
||||
#include <QMessageBox>
|
||||
#include <kiconloader.h>
|
||||
#include <klocalizedstring.h>
|
||||
#include <kkeysequencewidget.h>
|
||||
#include <kglobalaccel.h>
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include <qstandardpaths.h>
|
||||
#include <klocalizedstring.h>
|
||||
#include <kiconloader.h>
|
||||
|
||||
#if !PLASMA_NO_KIO
|
||||
#include <krun.h>
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include <kactioncollection.h>
|
||||
#include <QDebug>
|
||||
#include <kiconloader.h>
|
||||
#include <klocalizedstring.h>
|
||||
#include <kwindowsystem.h>
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include <QFontDatabase>
|
||||
|
||||
#include <kdirwatch.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kwindoweffects.h>
|
||||
|
||||
namespace Plasma
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include <kconfiggroup.h>
|
||||
#include <QDebug>
|
||||
#include <kfilterdev.h>
|
||||
#include <kiconeffect.h>
|
||||
|
||||
#include "applet.h"
|
||||
#include "package.h"
|
||||
@ -368,13 +367,6 @@ QPixmap SvgPrivate::findInCache(const QString &elementId, const QSizeF &s)
|
||||
|
||||
renderPainter.end();
|
||||
|
||||
// Apply current color scheme if the svg asks for it
|
||||
if (applyColors) {
|
||||
QImage itmp = p.toImage();
|
||||
KIconEffect::colorize(itmp, cacheAndColorsTheme()->color(Theme::BackgroundColor), 1.0);
|
||||
p = p.fromImage(itmp);
|
||||
}
|
||||
|
||||
if (cacheRendering) {
|
||||
cacheAndColorsTheme()->insertIntoCache(id, p, QString::number((qint64)q, 16) % QLSEP % actualElementId);
|
||||
}
|
||||
@ -533,10 +525,7 @@ QMatrix SvgPrivate::matrixForElement(const QString &elementId)
|
||||
|
||||
void SvgPrivate::checkColorHints()
|
||||
{
|
||||
if (elementRect("hint-apply-color-scheme").isValid()) {
|
||||
applyColors = true;
|
||||
usesColors = true;
|
||||
} else if (elementRect("current-color-scheme").isValid()) {
|
||||
if (elementRect("current-color-scheme").isValid()) {
|
||||
applyColors = false;
|
||||
usesColors = true;
|
||||
} else {
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include <kconfiggroup.h>
|
||||
#include <QDebug>
|
||||
#include <kdirwatch.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kimagecache.h>
|
||||
#include <ksharedconfig.h>
|
||||
#include <kwindoweffects.h>
|
||||
|
Loading…
Reference in New Issue
Block a user