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

List:       kde-windows
Subject:    Re: KPixampCache crash
From:       Ralf Habacker <ralf.habacker () freenet ! de>
Date:       2007-08-23 12:27:38
Message-ID: 46CD7D3A.8040502 () freenet ! de
[Download RAW message or body]

Serhiy Kachanuk schrieb:
> 2007/8/23, Jarosław Staniek:
>   
>> Hello,
>> On first run, cache files in ~/.kde/cache-hostname/kpc are created. Then, on
>> second run, KPixmapCache opens and tries to mmap the data file. Then I got the
>> crash under win2000, msvc.net, fresh kdelibs and Qt. Have anyone encountered
>> this or is the cache is working for you on win32?
>>
>>     
> I have this problem with mingw too.
>   
I had a crash too and the cache is not working for me may caused by a 
different reason.
My crash occured in KIconCache::setThemeInfo because the themes list was 
empty.

The reason is probably that the icons are now in kdebase.

A workaround which is shown below.

void KIconCache::setThemeInfo(const QList<KIconTheme*>& themes)
{
+    if (themes.isEmpty())
+       return;


Ralf

_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows

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

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