[PATCH] Adds posting private picture to imagebin.ca from the pastebin plasmoid

Chani chanika at gmail.com
Sat Aug 8 21:35:42 CEST 2009


> > one thing I don't get is how you managed to use a string ("0") as the
> > default value for an int ;)
>
> +    QString m_privacy;
>
> m_privacy seems to be a QString :)

oh.
but we also have this:
int imagebinPrivacy = uiServersOptions.imagebinPrivacy->currentIndex();

so, either make it always an int, or make it an enum. don't use a string. 
especially a string that just contains a number anyways...

-- 
This message brought to you by eevil bananas and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090808/eaf0cdd6/attachment.sig 


More information about the Plasma-devel mailing list