diff options
author | Timothy Pearson <[email protected]> | 2013-04-20 18:45:41 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-04-20 18:45:41 -0500 |
commit | 96d0c54e2e7939324f9403827f1546259d3d0e24 (patch) | |
tree | f8f619b45e9eee348811a46c8903b1776238f5d3 /kcontrol | |
parent | e4ead57fdde94c8e56ec81a4534f89940b4d3c3c (diff) | |
download | tdebase-96d0c54e2e7939324f9403827f1546259d3d0e24.tar.gz tdebase-96d0c54e2e7939324f9403827f1546259d3d0e24.zip |
Fix desktop refresh destroying media device information and menus
This resolves Bug 1450
Fix incorrect media device enable default setting in desktop control module
Diffstat (limited to 'kcontrol')
-rw-r--r-- | kcontrol/konq/desktopbehavior_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kcontrol/konq/desktopbehavior_impl.cpp b/kcontrol/konq/desktopbehavior_impl.cpp index b54bf8e17..48bb6f11c 100644 --- a/kcontrol/konq/desktopbehavior_impl.cpp +++ b/kcontrol/konq/desktopbehavior_impl.cpp @@ -255,7 +255,7 @@ void DesktopBehavior::fillMediaListView() KMimeType::List mimetypes = KMimeType::allMimeTypes(); TQValueListIterator<KMimeType::Ptr> it2(mimetypes.begin()); g_pConfig->setGroup( "Media" ); - enableMediaBox->setChecked(g_pConfig->readBoolEntry("enabled",false)); + enableMediaBox->setChecked(g_pConfig->readBoolEntry("enabled",true)); enableMediaFreeSpaceOverlayBox->setChecked(g_pConfig->readBoolEntry("FreeSpaceDisplayEnabled",true)); TQString excludedMedia=g_pConfig->readEntry("exclude","media/hdd_mounted,media/hdd_unmounted,media/floppy_unmounted,media/cdrom_unmounted,media/floppy5_unmounted"); for (; it2 != mimetypes.end(); ++it2) { |