[PATCH] Fifteen puzzle config revamp

Andre Magalhaes andrunko at gmail.com
Tue Jan 22 21:27:37 CET 2008


Committed :)

2008/1/22 Jesper Thomschutz <jesperht at yahoo.com>:
>
> Hi,
> Feel free to make use of the wonderful world of OSS and improve the code as
> you see fit :)
> I appreciate the improvements that you guys are making to this applet.
>
> Jesper, the neglecting father of the fifteen puzzle plasmoid
>
>
>
> ----- Original Message ----
> From: Andre Magalhaes <andrunko at gmail.com>
> To: panel-devel at kde.org
> Sent: Tuesday, January 22, 2008 8:44:34 PM
> Subject: Re: [PATCH] Fifteen puzzle config revamp
>
>  2008/1/22 Chani <chanika at gmail.com>:
> >
> > +    while (m_pieces.at(rand) != NULL) {
> > +      rand = qrand() % 16;
> > +    }
> >
> > this... looks... Bad.
> > I hate seeing any loop that has a random ending condition... what if it
> never
> > finishes?
> > but I don't know the context, and it's past my bedtime so I'm just gonna
> skip
> > down to... oh! you already used configNeedsSaving() - awesome. :)
> >
> Yeah, I don't like this also, but this is not my code, and I didn't
> touch it (besides
> reindent it).
> I tried to just fix the config dialog, and add the possibility to save
> the config options.
> Maybe this can be discussed with the applet "owner".
>
> BR
>
> --
> Andre Moreira Magalhaes (andrunko)
> --------------------------------------------------------
> Jabber: andrunko at gmail.com
> MSN:  andremoreira at msn.com
> Skype:  andrunko
> Blog:    http://andrunko.blogspot.com
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>
>  ________________________________
> Never miss a thing. Make Yahoo your homepage.
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>



-- 
Andre Moreira Magalhaes (andrunko)
--------------------------------------------------------
Jabber: andrunko at gmail.com
MSN:   andremoreira at msn.com
Skype:  andrunko
Blog:    http://andrunko.blogspot.com


More information about the Panel-devel mailing list