Commit 1a5483a4 authored by Tobias WEBER's avatar Tobias WEBER

added error handler to plotter

parent 6859209c
...@@ -1416,6 +1416,8 @@ void GlPlot::initializeGL() ...@@ -1416,6 +1416,8 @@ void GlPlot::initializeGL()
m_impl->initialiseGL(); m_impl->initialiseGL();
if(m_impl->IsInitialised()) if(m_impl->IsInitialised())
emit AfterGLInitialisation(); emit AfterGLInitialisation();
else
emit GLInitialisationFailed();
} }
} }
......
...@@ -371,6 +371,8 @@ public: ...@@ -371,6 +371,8 @@ public:
signals: signals:
void AfterGLInitialisation(); void AfterGLInitialisation();
void GLInitialisationFailed();
void MouseDown(bool left, bool mid, bool right); void MouseDown(bool left, bool mid, bool right);
void MouseUp(bool left, bool mid, bool right); void MouseUp(bool left, bool mid, bool right);
void MouseClick(bool left, bool mid, bool right); void MouseClick(bool left, bool mid, bool right);
......
Markdown is supported
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