Changeset View
Changeset View
Standalone View
Standalone View
src/SpectacleConfig.cpp
Show First 20 Lines • Show All 254 Lines • ▼ Show 20 Line(s) | 254 | { | |||
---|---|---|---|---|---|
255 | mGuiConfig.writeEntry(QStringLiteral("useLightMaskColour"), enabled); | 255 | mGuiConfig.writeEntry(QStringLiteral("useLightMaskColour"), enabled); | ||
256 | mGuiConfig.sync(); | 256 | mGuiConfig.sync(); | ||
257 | } | 257 | } | ||
258 | 258 | | |||
259 | // compression quality setting | 259 | // compression quality setting | ||
260 | 260 | | |||
261 | int SpectacleConfig::compressionQuality() const | 261 | int SpectacleConfig::compressionQuality() const | ||
262 | { | 262 | { | ||
263 | return mGuiConfig.readEntry(QStringLiteral("compressionQuality"), 89); | 263 | return mGuiConfig.readEntry(QStringLiteral("compressionQuality"), 90); | ||
264 | } | 264 | } | ||
265 | 265 | | |||
266 | void SpectacleConfig::setCompressionQuality(int value) | 266 | void SpectacleConfig::setCompressionQuality(int value) | ||
267 | { | 267 | { | ||
268 | mGuiConfig.writeEntry(QStringLiteral("compressionQuality"), value); | 268 | mGuiConfig.writeEntry(QStringLiteral("compressionQuality"), value); | ||
269 | mGuiConfig.sync(); | 269 | mGuiConfig.sync(); | ||
270 | } | 270 | } | ||
271 | 271 | | |||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |