summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/themeeditor/graphics/rbrenderinfo.cpp2
-rw-r--r--utils/themeeditor/graphics/rbscreen.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbrenderinfo.cpp b/utils/themeeditor/graphics/rbrenderinfo.cpp
index c2612373c8..468533628f 100644
--- a/utils/themeeditor/graphics/rbrenderinfo.cpp
+++ b/utils/themeeditor/graphics/rbrenderinfo.cpp
@@ -39,6 +39,8 @@ const RBRenderInfo& RBRenderInfo::operator=(const RBRenderInfo& other)
mProject = other.mProject;
mScreen = other.mScreen;
mModel = other.mModel;
+
+ return *this;
}
RBRenderInfo::~RBRenderInfo()
diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp
index 865bde2cef..8d3ef86ad0 100644
--- a/utils/themeeditor/graphics/rbscreen.cpp
+++ b/utils/themeeditor/graphics/rbscreen.cpp
@@ -25,7 +25,7 @@
#include <QFile>
RBScreen::RBScreen(ProjectModel* project, QGraphicsItem *parent) :
- QGraphicsItem(parent), project(project), backdrop(0)
+ QGraphicsItem(parent), backdrop(0), project(project)
{
width = safeSetting(project, "#screenwidth", "300").toInt();