mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Fixup MacOS compiler error
.. last commit broke MacOS build and also left an errant debug statement in there for good measure
This commit is contained in:
@@ -1547,15 +1547,16 @@ ColorsPage::applyThemeIndex(int index)
|
||||
void
|
||||
ColorsPage::resetClicked()
|
||||
{
|
||||
fprintf(stderr, "reset appearance settings!\n"); fflush(stderr);
|
||||
AppearanceSettings defaults = GSettings::defaultAppearanceSettings();
|
||||
|
||||
def->setCurrentFont(QFont(defaults.fontfamily));
|
||||
fontscale->setValue(defaults.fontscaleindex);
|
||||
lineWidth->setValue(defaults.linewidth);
|
||||
antiAliased->setChecked(defaults.antialias);
|
||||
#ifndef Q_OS_MAC // they do scrollbars nicely
|
||||
rideHead->setChecked(defaults.head);
|
||||
rideScroll->setChecked(defaults.scrollbar);
|
||||
#endif
|
||||
|
||||
applyThemeIndex(defaults.theme);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user