mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
refactor: clean up unused Windows widget code and improve UI handling
This commit is contained in:
@@ -520,8 +520,8 @@ void SettingsWidget::saveSettings()
|
||||
if (m_backDropTypeCombo) {
|
||||
const QVariant data = m_backDropTypeCombo->currentData();
|
||||
if (!data.isValid()) {
|
||||
// Mica
|
||||
sm->setWinBackdropType(static_cast<WIN_BACKDROP>(2));
|
||||
// AUTO = ACRYLIC
|
||||
sm->setWinBackdropType(static_cast<WIN_BACKDROP>(ACRYLIC));
|
||||
} else {
|
||||
sm->setWinBackdropType(static_cast<WIN_BACKDROP>(data.toInt()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user