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

List:       kde-core-devel
Subject:    [PATCH] KDirOperator (and #39259)
From:       Scott Wheeler <scott () slackorama ! net>
Date:       2002-03-12 5:09:08
[Download RAW message or body]

This was originally reported that Kuickshow wasn't reading settings properly 
on startup (it didn't remember to use "Separate Directories").  I tracked it 
down to KDirOperator.  

The problem is that while "d->m_viewKind" was being updated with 
"separateDirs", the "view" and subsequently "new_view" weren't.

This one liner fixes that and bug #39259.

-Scott
["kdiroperator.cpp.patch" (text/x-diff)]

--- kdiroperator.cpp.back	Mon Mar 11 23:59:50 2002
+++ kdiroperator.cpp	Tue Mar 12 00:00:42 2002
@@ -821,6 +821,7 @@
     }
 
     m_viewKind = static_cast<int>(view) | (separateDirs ? KFile::SeparateDirs : 0);
+    view = static_cast<KFile::FileView>(m_viewKind);
 
     KFileView *new_view = createView( this, view );
     if( preview ) {


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

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