0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 01:04:41 +08:00

Some typos in warning boxes...

This commit is contained in:
Valerio Varricchio 2017-07-19 00:30:34 +08:00 committed by Sergey Yagovtsev
parent 5edac7620e
commit a1aa8fc2e1

View File

@ -1382,7 +1382,7 @@ void EasyMainWindow::setDisconnected(bool _showMessage)
m_fpsRequestTimer.stop(); m_fpsRequestTimer.stop();
if (_showMessage) if (_showMessage)
QMessageBox::warning(this, "Warning", "Connection has lost", QMessageBox::Close); QMessageBox::warning(this, "Warning", "Connection was lost", QMessageBox::Close);
EASY_GLOBALS.connected = false; EASY_GLOBALS.connected = false;
m_captureAction->setEnabled(false); m_captureAction->setEnabled(false);
@ -2041,7 +2041,7 @@ void EasyMainWindow::onGetBlockDescriptionsClicked(bool)
if (m_listener.regime() == LISTENER_DESCRIBE) if (m_listener.regime() == LISTENER_DESCRIBE)
QMessageBox::warning(this, "Warning", "Already capturing blocks description.\nFinish old capturing session first.", QMessageBox::Close); QMessageBox::warning(this, "Warning", "Already capturing blocks description.\nFinish old capturing session first.", QMessageBox::Close);
else else
QMessageBox::warning(this, "Warning", "Capturing capturing frames.\nFinish old capturing session first.", QMessageBox::Close); QMessageBox::warning(this, "Warning", "Already capturing frames.\nFinish old capturing session first.", QMessageBox::Close);
return; return;
} }