Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarafei Praliaskouski <komzpa@mapswith.me>2013-07-25 17:49:57 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:59:30 +0300
commit84408e53811778065b539d2a7abbb8ffda2be9a8 (patch)
tree545f5f0fbeec56179e683f2213eb83c7d15bd368 /qt/draw_widget.cpp
parent7cc4726b38f7916b4483fe6c0792337f82a3d8ce (diff)
[framework] support for gui-less initialization
Diffstat (limited to 'qt/draw_widget.cpp')
-rw-r--r--qt/draw_widget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp
index ae560befb6..4308f544a4 100644
--- a/qt/draw_widget.cpp
+++ b/qt/draw_widget.cpp
@@ -274,12 +274,14 @@ namespace qt
try
{
m_framework->SetRenderPolicy(CreateRenderPolicy(rpParams));
+ m_framework->InitGuiSubsystem();
}
catch (graphics::gl::platform_unsupported const & e)
{
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()));