qt_themes: add themed connected/disconnected icons for dark and fix status bar theme updating

In dark theme, it is very hard to see the connected/disconnected icons because they are dark too. So I added two white-coloured icons for the dark theme. This also fixed an issue where theme update does not change the icon on the status bar.
This commit is contained in:
zhupengfei 2018-07-27 10:51:33 +08:00
parent 4a3c4f5f67
commit b1bbe0441e
No known key found for this signature in database
GPG key ID: 85B82A3E62174206
6 changed files with 13 additions and 0 deletions

View file

@ -440,6 +440,8 @@ void GMainWindow::ConnectWidgetEvents() {
connect(this, &GMainWindow::UpdateProgress, this, &GMainWindow::OnUpdateProgress);
connect(this, &GMainWindow::CIAInstallReport, this, &GMainWindow::OnCIAInstallReport);
connect(this, &GMainWindow::CIAInstallFinished, this, &GMainWindow::OnCIAInstallFinished);
connect(this, &GMainWindow::UpdateThemedIcons, multiplayer_state,
&MultiplayerState::UpdateThemedIcons);
}
void GMainWindow::ConnectMenuEvents() {