mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:45:44 +00:00
UI: Don't update hidden window's title.
This commit is contained in:
parent
1a8cdde0e6
commit
129c6c372c
@ -237,6 +237,9 @@ void GraphWindow::addData(QCPBars *graph, qint64 rangeLower,
|
||||
|
||||
void GraphWindow::updateWindowTitleSpeed()
|
||||
{
|
||||
if (windowFlags() & Qt::FramelessWindowHint)
|
||||
return;
|
||||
|
||||
const auto inBytes = m_graphIn->data()->isEmpty()
|
||||
? 0 : (m_graphIn->data()->constEnd() - 1)->mainValue();
|
||||
const auto outBytes = m_graphOut->data()->isEmpty()
|
||||
|
Loading…
Reference in New Issue
Block a user