From c37164306b1cf713e63d607fa1d1e866a5bbaa12 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 19 Oct 2012 16:03:17 +0200 Subject: Keep current Pic when adding files to PicViewer2 Try to get the position of the current picture after adding and clearing the file list of PictureViewer2. While thinking of using std::find for this I realized that the operator()-functions in Helper:: weren't used any more, so remove them and the includes. --- helper.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'helper.h') diff --git a/helper.h b/helper.h index 8a1f0d4..b000026 100644 --- a/helper.h +++ b/helper.h @@ -29,14 +29,6 @@ namespace Helper { QVariant bytesFromUnit(QVariant number, const QString unit); const QStringList toStringList(const QList &list); const QString colorToHtml(const QColor &color); - class SortFileInfoList : public std::binary_function { - public: - bool operator()(const QFileInfo &lhs, const QFileInfo &rhs) const; - }; - class FileInfoListContains : public std::binary_function { - public: - bool operator()(const QFileInfo &info, const QString &file) const; - }; void centerWidget(QWidget *widget); } -- cgit v1.2.3-70-g09d2