Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/KOMETA/qtSimpleGraph/commit/6a9ebdd9fbd8bff9442cdfb1857e86430e56c827?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Исправление очистки при закрытии. Уменьшение время ожидания клавиши.

main
Артём Проскурнёв 4 years ago
parent 71318eb774
commit 6a9ebdd9fb
  1. 4
      qtsgraph.cpp

@ -118,7 +118,7 @@ int QTSGraph::ReadKey()
if(!EventKeyPressed || IDPressedKey == -1) if(!EventKeyPressed || IDPressedKey == -1)
{ {
while(!KeyPressed() && this->isVisible()) while(!KeyPressed() && this->isVisible())
Delay(100); Delay(1);
} }
int t = IDPressedKey; int t = IDPressedKey;
IDPressedKey = -1; IDPressedKey = -1;
@ -217,5 +217,5 @@ void QTSGraph::closeEvent(QCloseEvent *event)
//Закрытие окна //Закрытие окна
delete ResetTimer; delete ResetTimer;
delete StartTimer; delete StartTimer;
delete this; exit(0);
} }

Loading…
Cancel
Save