summaryrefslogtreecommitdiffstats
path: root/demos/shared/arthurwidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/shared/arthurwidgets.cpp')
-rw-r--r--demos/shared/arthurwidgets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/shared/arthurwidgets.cpp b/demos/shared/arthurwidgets.cpp
index 4182ff1..2eaf96b 100644
--- a/demos/shared/arthurwidgets.cpp
+++ b/demos/shared/arthurwidgets.cpp
@@ -313,7 +313,7 @@ void ArthurFrame::loadSourceFile(const QString &sourceFile)
void ArthurFrame::showSource()
{
// Check for existing source
- if (qFindChild<QTextBrowser *>(this))
+ if (findChild<QTextBrowser *>())
return;
QString contents;