Summary: | changing the default preview size break previews | ||
---|---|---|---|
Product: | kcontrol | Reporter: | Giovanni Venturi <giovanni> |
Component: | kcmkonq | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | wendigo3 |
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Giovanni Venturi
2004-12-31 00:43:35 UTC
CVS commit by gianni: fix bug #96050 BUG: 96050 M +6 -1 previews.cpp 1.23 --- kdebase/kcontrol/konq/previews.cpp #1.22:1.23 @@ -165,4 +165,9 @@ void KPreviewOptions::load(bool useDefau for ( ; it.current() ; ++it ) { QString protocol( it.current()->text() ); + if ( ( protocol == "file" ) && ( !group.hasKey ( protocol ) ) ) + // file should be enabled in case is not defined because if not so + // than preview's lost when size is changed from default one + it.current()->setOn( true ); + else it.current()->setOn( group.readBoolEntry( protocol, false ) ); } The same thing happens if you add another the media protocol to the preview options. It breaks the previews. I don't know if this has been fixed too. The same thing happens if you add the media protocol to the preview options. It breaks the previews. I don't know if this has been fixed too. Can you explain better step by step, so I can fix it too. |