Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 038d1e4f authored by Nishant Rodrigues's avatar Nishant Rodrigues

KoToolBase, KoShape, KoPatternBackground: Remove unused Q_Ds

libs/flake/KoShape.cpp:1496:28: error: unused variable 'd' [-Werror,-Wunused-variable]
libs/flake/KoToolBase.cpp:60:37: error: unused variable 'd' [-Werror,-Wunused-variable]
libs/flake/KoPatternBackground.cpp:144:40: error: unused variable 'd' [-Werror,-Wunused-variable]
parent 23e9f756
......@@ -142,7 +142,6 @@ KoPatternBackground::KoPatternBackground(KoImageCollection *imageCollection)
KoPatternBackground::~KoPatternBackground()
{
Q_D(KoPatternBackground);
}
void KoPatternBackground::setTransform(const QTransform &matrix)
......
......@@ -1493,7 +1493,6 @@ void KoShape::loadStyle(const KoXmlElement &element, KoShapeLoadingContext &cont
bool KoShape::loadOdfAttributes(const KoXmlElement &element, KoShapeLoadingContext &context, int attributes)
{
Q_D(KoShape);
if (attributes & OdfPosition) {
QPointF pos(position());
if (element.hasAttributeNS(KoXmlNS::svg, "x"))
......
......@@ -56,9 +56,6 @@ KoToolBase::KoToolBase(KoToolBasePrivate &dd)
KoToolBase::~KoToolBase()
{
Q_D(const KoToolBase);
// Enable this to easily generate action files for tools
// if (actions().size() > 0) {
......
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