summaryrefslogtreecommitdiffstats
path: root/core/qthelper.h
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-07-13 21:06:28 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-15 09:38:12 -0700
commitbb2dfdfe5448eb7616c0d2eb432c633bce2a520a (patch)
treeeda0d1686e6611539032bd89630de14aae8b8deb /core/qthelper.h
parent669277d49004fefc320906297a1c08a26e6d99d7 (diff)
downloadsubsurface-bb2dfdfe5448eb7616c0d2eb432c633bce2a520a.tar.gz
For media file open dialog add different file filters
On top of the file filter for all media files add a file filter for images only, one for videos only and one for all files. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'core/qthelper.h')
-rw-r--r--core/qthelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/qthelper.h b/core/qthelper.h
index e1517991c..fa41fd339 100644
--- a/core/qthelper.h
+++ b/core/qthelper.h
@@ -43,7 +43,9 @@ void setCurrentAppState(const QByteArray &state);
void init_proxy();
QString getUUID();
extern const QStringList videoExtensionsList;
+QStringList mediaExtensionFilters();
QStringList imageExtensionFilters();
+QStringList videoExtensionFilters();
char *intdup(int index);
char *copy_qstring(const QString &);
QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true);