Changeset View
Changeset View
Standalone View
Standalone View
core/GlobalConfig.cpp
Show All 25 Lines | 25 | GlobalConfig::GlobalConfig() : | |||
---|---|---|---|---|---|
26 | KConfigSkeleton("kmixrc") | 26 | KConfigSkeleton("kmixrc") | ||
27 | { | 27 | { | ||
28 | setCurrentGroup("Global"); | 28 | setCurrentGroup("Global"); | ||
29 | // General | 29 | // General | ||
30 | addItemBool("Tickmarks", data.showTicks, true); | 30 | addItemBool("Tickmarks", data.showTicks, true); | ||
31 | addItemBool("Labels", data.showLabels, true); | 31 | addItemBool("Labels", data.showLabels, true); | ||
32 | addItemBool("VolumeOverdrive", data.volumeOverdrive, false); | 32 | addItemBool("VolumeOverdrive", data.volumeOverdrive, false); | ||
33 | addItemBool("VolumeFeedback", data.beepOnVolumeChange, true); | 33 | addItemBool("VolumeFeedback", data.beepOnVolumeChange, true); | ||
34 | addItemString("VolumePercentageStep", data.VolumePercentageStep, "5"); | ||||
marten: Consistent indentation | |||||
34 | // ItemString* is = | 35 | // ItemString* is = | ||
35 | addItemString("Orientation", data.orientationMainGUIString, "Vertical"); | 36 | addItemString("Orientation", data.orientationMainGUIString, "Vertical"); | ||
36 | // qCDebug(KMIX_LOG) << is->name() << is->value(); | 37 | // qCDebug(KMIX_LOG) << is->name() << is->value(); | ||
37 | addItemString("Orientation.TrayPopup", data.orientationTrayPopupString, QLatin1String("Vertical")); | 38 | addItemString("Orientation.TrayPopup", data.orientationTrayPopupString, QLatin1String("Vertical")); | ||
38 | 39 | | |||
39 | // Sound Menu | 40 | // Sound Menu | ||
40 | addItemBool("showOSD", data.showOSD, true); | 41 | addItemBool("showOSD", data.showOSD, true); | ||
41 | addItemBool("AllowDocking", data.showDockWidget, true); | 42 | addItemBool("AllowDocking", data.showDockWidget, true); | ||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |
Consistent indentation