[KPhotoAlbum] Tiny patch: Some missing includes
h.zeller at acm.org
Sun Nov 30 02:46:02 CET 2014
On 29 November 2014 at 03:23, Tobias Leupold <tobias.leupold at web.de> wrote:
> Hi :-)
> I just had a look at it (not that I ever touched the respective code ...).
> std::tuple is actually used in
> AnnotationDialog::Dialog::selectionForMultiSelect, as well as std::tie.
> seem to be part of the Boost package (at least here on current stable
> std::tuple looks like a QPair counterpart (not sure about the std::tie
> as I'm not really a C++ guru ;-)
> Why don't we use Qt here (instead of using "external" libraries)? I didn't
> some std::* stuff elsewhere, I'm just wondering if we could e. g. use
> QPair<QStringList, QStringList>(itemsOnAllImages,
> instead of
> std::make_tuple( itemsOnAllImages, itemsPartiallyOn );
> of course with itemsOnAllImages and itemsPartiallyOn declared as
> before and so on.
> For the <algorithm.h> include: Where is this used? I didn't find it!
<algorithm> is needed for std::all_of()
> Cheers, Tobias
> Am Freitag 28 November 2014, 23:18:47 schrieb Henner Zeller:
> > Hi,
> > While compiling kphotoalbum today (on wheezy), I had to add some
> includes -
> > functions used in ImagePreview.cpp and Dialog.cpp but whose headers were
> > missing.
> > Patch attached.
> > -h
> KPhotoAlbum mailing list
> KPhotoAlbum at mail.kdab.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KPhotoAlbum