mirror of
https://github.com/debauchee/barrier.git
synced 2025-01-01 15:42:33 +03:00
Fixed issue 488
This commit is contained in:
parent
476903c47b
commit
63d8c077d4
@ -186,11 +186,6 @@ void MainWindow::saveSettings()
|
|||||||
|
|
||||||
void MainWindow::setIcon(qSynergyState state)
|
void MainWindow::setIcon(qSynergyState state)
|
||||||
{
|
{
|
||||||
#if defined(Q_OS_WIN)
|
|
||||||
setVisible(state == synergyDisconnected);
|
|
||||||
m_pTrayIcon->setVisible(state == synergyDisconnected);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
QIcon icon;
|
QIcon icon;
|
||||||
icon.addFile(synergyIconFiles[state]);
|
icon.addFile(synergyIconFiles[state]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user