summaryrefslogtreecommitdiff
path: root/utils/themeeditor
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-21 18:24:30 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-21 18:24:30 +0000
commitd18aa51ded253229e470d4e4a2d6df31bbae0bdf (patch)
treec2472cc7419d2428f124d1027f62770975e1f046 /utils/themeeditor
parent4e26db3f35568e93fc3d2857a083d2889b7959c6 (diff)
Theme Editor: Fixed some compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27023 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor')
-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();