sync mainwindow icon to current application status
This commit is contained in:
parent
5362dbc297
commit
e396f8d55e
|
@ -288,6 +288,8 @@ void MainWindow::setIcon(qBarrierState state)
|
|||
QIcon icon;
|
||||
icon.addFile(barrierIconFiles[state]);
|
||||
|
||||
setWindowIcon(icon);
|
||||
|
||||
if (m_pTrayIcon)
|
||||
m_pTrayIcon->setIcon(icon);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue