mirror of
https://github.com/tnodir/fort
synced 2024-11-15 15:55:45 +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()
|
void GraphWindow::updateWindowTitleSpeed()
|
||||||
{
|
{
|
||||||
|
if (windowFlags() & Qt::FramelessWindowHint)
|
||||||
|
return;
|
||||||
|
|
||||||
const auto inBytes = m_graphIn->data()->isEmpty()
|
const auto inBytes = m_graphIn->data()->isEmpty()
|
||||||
? 0 : (m_graphIn->data()->constEnd() - 1)->mainValue();
|
? 0 : (m_graphIn->data()->constEnd() - 1)->mainValue();
|
||||||
const auto outBytes = m_graphOut->data()->isEmpty()
|
const auto outBytes = m_graphOut->data()->isEmpty()
|
||||||
|
Loading…
Reference in New Issue
Block a user