From f3491e97d0d96f8df8a3c5a16efdef19c0796770 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Sun, 6 Jun 2010 03:35:40 +0000 Subject: Theme Editor: Began working on open document functionality (still incomplete), fixed a nested conditional parsing bug in the parser, and fixed segfault-on-codegen-from-empty-tree bug git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26609 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/skindocument.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'utils/themeeditor/skindocument.h') diff --git a/utils/themeeditor/skindocument.h b/utils/themeeditor/skindocument.h index f222543..4546c42 100644 --- a/utils/themeeditor/skindocument.h +++ b/utils/themeeditor/skindocument.h @@ -33,8 +33,15 @@ class SkinDocument : public QWidget { Q_OBJECT public: - const QString fileFilter; - + static QString fileFilter() + { + return tr("WPS Files (*.wps *.rwps);;" + "SBS Files (*.sbs *.rsbs);;" + "FMS Files (*.fms *.rfms);;" + "All Skin Files (*.wps *.rwps *.sbs " + "*.rsbs *.fms *.rfms);;" + "All Files (*.*)"); + } SkinDocument(QWidget *parent = 0); virtual ~SkinDocument(); -- cgit v1.1