[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/konq
From:       Giovanni Venturi <gventuri73 () tiscali ! it>
Date:       2004-12-30 23:47:09
Message-ID: 20041230234709.24A371CF69 () office ! kde ! org
[Download RAW message or body]

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 ) );
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic