591 |
PaletteForm::namedPaletteList(&m_pOptions->settings())); |
PaletteForm::namedPaletteList(&m_pOptions->settings())); |
592 |
|
|
593 |
int iCustomColorTheme = 0; |
int iCustomColorTheme = 0; |
594 |
if (!sCustomColorTheme.isEmpty()) |
if (!sCustomColorTheme.isEmpty()) { |
595 |
iCustomColorTheme = m_ui.CustomColorThemeComboBox->findText( |
iCustomColorTheme = m_ui.CustomColorThemeComboBox->findText( |
596 |
sCustomColorTheme); |
sCustomColorTheme); |
597 |
|
if (iCustomColorTheme < 0) |
598 |
|
iCustomColorTheme = 0; |
599 |
|
} |
600 |
m_ui.CustomColorThemeComboBox->setCurrentIndex(iCustomColorTheme); |
m_ui.CustomColorThemeComboBox->setCurrentIndex(iCustomColorTheme); |
601 |
} |
} |
602 |
|
|
611 |
m_ui.CustomStyleThemeComboBox->addItems(QStyleFactory::keys()); |
m_ui.CustomStyleThemeComboBox->addItems(QStyleFactory::keys()); |
612 |
|
|
613 |
int iCustomStyleTheme = 0; |
int iCustomStyleTheme = 0; |
614 |
if (!sCustomStyleTheme.isEmpty()) |
if (!sCustomStyleTheme.isEmpty()) { |
615 |
iCustomStyleTheme = m_ui.CustomStyleThemeComboBox->findText( |
iCustomStyleTheme = m_ui.CustomStyleThemeComboBox->findText( |
616 |
sCustomStyleTheme); |
sCustomStyleTheme); |
617 |
|
if (iCustomStyleTheme < 0) |
618 |
|
iCustomStyleTheme = 0; |
619 |
|
} |
620 |
m_ui.CustomStyleThemeComboBox->setCurrentIndex(iCustomStyleTheme); |
m_ui.CustomStyleThemeComboBox->setCurrentIndex(iCustomStyleTheme); |
621 |
} |
} |
622 |
|
|