X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2Fvv.cxx;h=301521b4662a8509197d81174b348964b4e5e140;hb=e1098dccba022441144bfc1c44a2b58db7dde34e;hp=981105095d68a80934280b6e332895cc1d42fa9a;hpb=97b13fba69a83e91416caa9e689e012211649f12;p=clitk.git diff --git a/vv/vv.cxx b/vv/vv.cxx index 9811050..301521b 100644 --- a/vv/vv.cxx +++ b/vv/vv.cxx @@ -196,10 +196,13 @@ int main( int argc, char** argv ) window.ApplyWindowLevelToAllImages(); } + + int ret = app.exec(); + #ifndef _WIN32 // restoring the locale, just to be clean... setlocale(LC_NUMERIC, old_locale.c_str()); #endif - return app.exec(); + return ret; }