summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.cpp')
-rw-r--r--utils/themeeditor/graphics/rbscreen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp
index c66d4f82b2..b01552cc44 100644
--- a/utils/themeeditor/graphics/rbscreen.cpp
+++ b/utils/themeeditor/graphics/rbscreen.cpp
@@ -201,7 +201,11 @@ void RBScreen::setBackdrop(QString filename)
if(QFile::exists(filename))
backdrop = new QPixmap(filename);
else
+ {
+ RBScene* s = dynamic_cast<RBScene*>(scene());
+ s->addWarning(QObject::tr("Image not found: ") + filename);
backdrop = 0;
+ }
}
void RBScreen::makeCustomUI(QString id)