increase default size for previews to 5 MB

svn path=/trunk/KDE/kdebase/apps/; revision=710263
This commit is contained in:
Peter Penz 2007-09-09 12:59:29 +00:00
parent 31e0dfb6fe
commit dffaaad6b6

View file

@ -147,7 +147,7 @@ void GeneralViewSettingsPage::loadSettings()
m_maxPreviewSize->setTickPosition(QSlider::TicksBelow);
KConfigGroup globalConfig(KGlobal::config(), "PreviewSettings");
const int maxByteSize = globalConfig.readEntry("MaximumSize", 1024 * 1024 /* 1 MB */);
const int maxByteSize = globalConfig.readEntry("MaximumSize", 5 * 1024 * 1024 /* 5 MB */);
int maxMByteSize = maxByteSize / (1024 * 1024);
if (maxMByteSize < 1) {
maxMByteSize = 1;