diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-12-09 15:43:07 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:47:50 +0300 |
commit | 87fdfba481022c9e01141445032af278969c4e79 (patch) | |
tree | 57432e93463fffd4a42393cbc4dbd78fed08b39d /qt | |
parent | 67907b5423e2c88b70579b7b06f361610ade7c3b (diff) |
fixed minor bugs with exception handling.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/draw_widget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index 690f9bc7de..a06a8c3f27 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -244,6 +244,10 @@ namespace qt LOG(LERROR, ("OpenGL platform is unsupported, reason: ", e.what())); /// @todo Show "Please Update Drivers" dialog and close the program. } + catch (RootException const & e) + { + LOG(LERROR, (e.what())); + } m_isInitialized = true; } |