summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-03 16:19:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-03 16:19:53 +0100
commite34963f2365d6352b8d1bc0761697cc0df5dd5ff (patch)
tree0888f25651088fb00d4a84c7bf5c64278df9c20e /src/application.cpp
parentFinally... unit tests!! (diff)
downloadrekonq-e34963f2365d6352b8d1bc0761697cc0df5dd5ff.tar.xz
Trivial MainView Test
and now we have two.. :)
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 634e068f..8e65b394 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -172,7 +172,7 @@ int Application::newInstance()
Application *Application::instance()
{
- return (static_cast<Application *>(QCoreApplication::instance()));
+ return (qobject_cast<Application *>(QCoreApplication::instance()));
}