Commit 153077b5 authored by Andrius Štikonas's avatar Andrius Štikonas

Remove kdelibs4support completely.

parent 4bb6d2c7
......@@ -18,7 +18,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
GuiAddons
I18n
ItemModels
KDELibs4Support
KIO
NewStuff
NotifyConfig
......
......@@ -205,7 +205,7 @@ void CardSprite::setFrame(int no, bool force)
// Translation
QPoint offset = thememanager()->getOffset();
resetTransform();
translate(mHotspots[no].x() + offset.x(), mHotspots[no].y() + offset.y());
setTransform(QTransform::fromTranslate(mHotspots[no].x() + offset.x(), mHotspots[no].y() + offset.y()), true);
mCurrentFrame = no;
update();
......
......@@ -207,11 +207,11 @@ void PixmapSprite::setFrame(int no, bool force)
resetTransform();
if (mOffsetStatus)
{
translate(-mHotspots.at(no).x() + offset.x(), -mHotspots.at(no).y() + offset.y());
setTransform(QTransform::fromTranslate(-mHotspots.at(no).x() + offset.x(), -mHotspots.at(no).y() + offset.y()), true);
}
else
{
translate(-mHotspots.at(no).x(), -mHotspots.at(no).y());
setTransform(QTransform::fromTranslate(-mHotspots.at(no).x(), -mHotspots.at(no).y()), true);
}
mCurrentFrame = no;
update();
......
......@@ -102,11 +102,11 @@ void TextSprite::changeTheme()
resetTransform();
if (center)
{
translate(-boundingRect().width() / 2.0 + offset.x(), 0.0 + offset.y());
setTransform(QTransform::fromTranslate(-boundingRect().width() / 2.0 + offset.x(), offset.y()), true);
}
else
{
translate(offset.x(), offset.y());
setTransform(QTransform::fromTranslate(offset.x(), offset.y()), true);
}
update();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment