equal
deleted
inserted
replaced
83 |
83 |
84 #ifdef SPARKLE_ENABLED |
84 #ifdef SPARKLE_ENABLED |
85 Form->ui.pageOptions->CBAutoUpdate->setChecked(value("misc/autoUpdate", true).toBool()); |
85 Form->ui.pageOptions->CBAutoUpdate->setChecked(value("misc/autoUpdate", true).toBool()); |
86 #endif |
86 #endif |
87 |
87 |
88 Form->ui.pageOptions->CBLanguage->setCurrentIndex(Form->ui.pageOptions->CBLanguage->findData(value("misc/locale", QLocale::system().name()))); |
88 Form->ui.pageOptions->CBLanguage->setCurrentIndex(Form->ui.pageOptions->CBLanguage->findData(value("misc/locale", "").toString())); |
89 |
89 |
90 depth = QApplication::desktop()->depth(); |
90 depth = QApplication::desktop()->depth(); |
91 if (depth < 16) depth = 16; |
91 if (depth < 16) depth = 16; |
92 else if (depth > 16) depth = 32; |
92 else if (depth > 16) depth = 32; |
93 } |
93 } |