summaryrefslogtreecommitdiff
path: root/examples/richtext/textobject/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/richtext/textobject/window.cpp')
-rw-r--r--examples/richtext/textobject/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/richtext/textobject/window.cpp b/examples/richtext/textobject/window.cpp
index 7feb9185dc..e43ac284e1 100644
--- a/examples/richtext/textobject/window.cpp
+++ b/examples/richtext/textobject/window.cpp
@@ -96,7 +96,7 @@ void Window::setupGui()
fileNameLineEdit = new QLineEdit;
insertTextObjectButton = new QPushButton(tr("Insert Image"));
- fileNameLineEdit->setText("./files/heart.svg");
+ fileNameLineEdit->setText(":/files/heart.svg");
connect(insertTextObjectButton, SIGNAL(clicked()),
this, SLOT(insertTextObject()));