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

List:       koffice
Subject:    QSplitter again
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-01-18 16:41:51
[Download RAW message or body]

Hi!

It seems to me to be a bug in QSplitter. You can only
add widgets, but I see no way to tell QSplitter that it
shouldn't manage certain widgets anymore. And deleting the
widgets doesn't help.

I applied the following patch and voila - it didn't crash
anymore, but didn't work well either ;)

diff -u -u -r1.20 kfilepreview.cpp
--- kfilepreview.cpp    2000/01/10 20:04:13     1.20
+++ kfilepreview.cpp    2000/01/18 16:41:09
@@ -60,7 +60,7 @@
     }
     if(preview) {
         deleted=true;
-        delete preview;
+//        delete preview;


Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

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

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