Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 0c4ea341 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

small modification for mast memory leaks with Qt

parent 19384357
...@@ -99,7 +99,7 @@ SimpleQT::SimpleQT() : ...@@ -99,7 +99,7 @@ SimpleQT::SimpleQT() :
m_textConsole = new QTextEdit(); m_textConsole = new QTextEdit();
m_textConsole->setLineWrapMode(QTextEdit::NoWrap); m_textConsole->setLineWrapMode(QTextEdit::NoWrap);
m_textConsole->setTabStopWidth(20); m_textConsole->setTabStopWidth(20);
m_textConsole->setReadOnly(true); // m_textConsole->setReadOnly(true);
m_dockConsole->setWidget(m_textConsole); m_dockConsole->setWidget(m_textConsole);
......
...@@ -329,6 +329,7 @@ void GLWidget::keyPressEvent(QKeyEvent* event) ...@@ -329,6 +329,7 @@ void GLWidget::keyPressEvent(QKeyEvent* event)
{ {
close(); close();
m_cbs->close(); m_cbs->close();
return;
} }
m_state_modifier = event->modifiers(); m_state_modifier = event->modifiers();
......
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