Commit 94730502 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Use enum instead of defines.

parent 08af2ba7
...@@ -64,11 +64,13 @@ ...@@ -64,11 +64,13 @@
string += qtr( "All Files" ); \ string += qtr( "All Files" ); \
string += " (*.*)"; string += " (*.*)";
#define EXT_FILTER_MEDIA 0x01 enum {
#define EXT_FILTER_VIDEO 0x02 EXT_FILTER_MEDIA = 0x01,
#define EXT_FILTER_AUDIO 0x04 EXT_FILTER_VIDEO = 0x02,
#define EXT_FILTER_PLAYLIST 0x08 EXT_FILTER_AUDIO = 0x04,
#define EXT_FILTER_SUBTITLE 0x10 EXT_FILTER_PLAYLIST = 0x08,
EXT_FILTER_SUBTITLE = 0x10,
};
enum { enum {
OPEN_FILE_TAB, OPEN_FILE_TAB,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment