Commit 873612f4 authored by lealv's avatar lealv
Browse files

FIXED: application::open was always returning a void instead of component...

FIXED:  application::open was always returning a void instead of component pointer. (semi-colon is missing).

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1853 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 3dd0fae6
...@@ -388,8 +388,10 @@ Component * Application::open(const QString & fileName) { ...@@ -388,8 +388,10 @@ Component * Application::open(const QString & fileName) {
restoreOverrideCursor(); restoreOverrideCursor();
resetProgressBar(); resetProgressBar();
if(!comp->isTopLevel()) if (!comp->isTopLevel())
{
CAMITK_WARNING("Application", "Open", "Instanciating a NON top level component.") CAMITK_WARNING("Application", "Open", "Instanciating a NON top level component.")
}
return comp; return comp;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment