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

List:       kde-devel
Subject:    Re: konsole broken in HEAD branch
From:       "Dirk A. Mueller" <dmuell () gmx ! net>
Date:       1999-05-04 12:33:35
[Download RAW message or body]

Frugal <frugal@fysh.org> wrote:

>> Yes. I've already spent some time investigating it, but no success
>> yet.
> There is currently a thread in the QT mailing list which deals with
> text becoming mangled when drawText is used. Could this have anything 
> to do with it...

Maybe, I'll check it later. But it's true, there are quite some bugs in
Qt that are so obvious I cannot understand why they aren't fixed
already. Of course I've sent bug reports, but in the mean time for
those who wonder why QDir doesn't work if setSorting(QDir::DirsFirst)
is used:

diff -u -r2.46 qdir.cpp
+++ qdir.cpp    1999/05/04 13:33:27
@@ -1664,7 +1664,7 @@

     if ( dirsFirst ) {
        // Prepend dirs into fList and fiList
-       QStringList::Iterator it = dList->last();
+       QStringList::Iterator it = dList->begin();
        QFileInfo *fiTmp = diList->last();
        while ( it != dList->end() ) {
            fList->prepend(*it);

There might be also some other bugs in QDir, i.e. Name-Sorting
obviously doesn't work.

btw, anyone got a clue why there is a QValueList::last(), but no
QValueList::front() ? Strange things to investigate...


-- 
Dirk A. Mueller

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

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