From 176691a42bd4fc6b72cc984592a6c210f4688b29 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Tue, 13 Mar 2007 00:40:23 +0000 Subject: [PATCH] Qt4 - Reorganize the SPrefs categories : Interface , Audio, Video, Subtiltes, Input, Hotkeys. And I still can't center those icons !!! --- modules/gui/qt4/components/simple_preferences.cpp | 8 ++++---- modules/gui/qt4/components/simple_preferences.hpp | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index ae2dde3fbf..7c0baad23c 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -70,14 +70,14 @@ SPrefsCatList::SPrefsCatList( intf_thread_t *_p_intf, QWidget *_parent ) : item( id )->setData( Qt::UserRole, qVariantFromValue( (int)id ) ); \ item( id )->setFlags( Qt::ItemIsSelectable | Qt::ItemIsEnabled ); - ADD_CATEGORY( SPrefsVideo, qtr("Video"), spref_cone_Video_64.png ); - ADD_CATEGORY( SPrefsAudio, qtr("Audio"), spref_cone_Audio_64.png ); - ADD_CATEGORY( SPrefsInputAndCodecs, qtr("Input and Codecs"), - spref_cone_Input_64.png ); ADD_CATEGORY( SPrefsInterface, qtr("Interface"), spref_cone_Interface_64.png ); + ADD_CATEGORY( SPrefsAudio, qtr("Audio"), spref_cone_Audio_64.png ); + ADD_CATEGORY( SPrefsVideo, qtr("Video"), spref_cone_Video_64.png ); ADD_CATEGORY( SPrefsSubtitles, qtr("Subtitles"), spref_cone_Subtitles_64.png ); + ADD_CATEGORY( SPrefsInputAndCodecs, qtr("Input and Codecs"), + spref_cone_Input_64.png ); ADD_CATEGORY( SPrefsHotkeys, qtr("Hotkeys"), spref_cone_Hotkeys_64.png ); setCurrentRow( SPrefsInterface ); diff --git a/modules/gui/qt4/components/simple_preferences.hpp b/modules/gui/qt4/components/simple_preferences.hpp index b9ff67286f..99d6892652 100644 --- a/modules/gui/qt4/components/simple_preferences.hpp +++ b/modules/gui/qt4/components/simple_preferences.hpp @@ -29,11 +29,11 @@ #include enum { - SPrefsVideo = 0, + SPrefsInterface = 0, SPrefsAudio, - SPrefsInputAndCodecs, - SPrefsInterface, + SPrefsVideo, SPrefsSubtitles, + SPrefsInputAndCodecs, SPrefsHotkeys, SPrefsMax }; -- 2.39.2