diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-03 16:19:53 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-03 16:19:53 +0100 |
commit | e34963f2365d6352b8d1bc0761697cc0df5dd5ff (patch) | |
tree | 0888f25651088fb00d4a84c7bf5c64278df9c20e /src/application.cpp | |
parent | Finally... unit tests!! (diff) | |
download | rekonq-e34963f2365d6352b8d1bc0761697cc0df5dd5ff.tar.xz |
Trivial MainView Test
and now we have two.. :)
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 2 |
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())); } |