Re: [kln2-devel] prefs
Brought to you by:
wiecko
|
From: Marek W. <Mar...@fu...> - 2004-10-14 03:06:09
|
On Wed, 13 Oct 2004, Carlo wrote:
> now exercises save their own preferences,
Great. :)
> There is still a problem: sliders' position is not saved
I'll look into this, OK? I'd like to code something about preferences to
learn better how it works. :)
> mmmm, I get so many warnings about missing KDE icons
I don't get any. What do they say? Does your KDE style use an icon for a
titlebar of the window? If so - probably you cannot get it properly for a
program which is run from a local directory (you probably have to install
it into /usr/local/kde... or /opt/kde/...). I'm not sure.
I wonder if other kdelibs based programs would cause similar warnings when
run from a local directory (that is when compiled from sources and not
installed).
> KLN crashes in the destructor, but not because of functions we put in
> it. It crashes at the end of the destructor: when it executes code
> inserted by the compiler.
Maybe something is deleted twice? Maybe something that we delete
"manually" is still needed by Qt destructors? I'm really confused. :/
> anyway, why doesn't PianoKeyboardKey have a destructor?
Good point. The standard c++ destructor deleted all value-based members.
But there is some mess about "what deletes the pointers in QPtrList-s"
(esp. that some of them have autoDelete==true). Maybe Qt tries to delete
the backgrounds twice (once because they are children of a canvas, once
because of being in autoDelete-d QPtrList)?
~Marek
--
\/ /|\ Marek Wieckowski
##### | | |
= . . = \|/ Institute of Theoretical Physics
U | Warsaw University
/ ~ \___ |
<| | |
> . < | http://www.fuw.edu.pl/~wiecko
<<___>> | http://klearnnotes2.sourceforge.net
|