Commit 6c3405e7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt, sprefs: use the Color Selector

parent 8dec3520
...@@ -636,7 +636,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, ...@@ -636,7 +636,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
CONFIG_GENERIC( "sub-language", String, ui.subLangLabel, CONFIG_GENERIC( "sub-language", String, ui.subLangLabel,
preferredLanguage ); preferredLanguage );
CONFIG_GENERIC_NO_BOOL( "freetype-font", Font, ui.fontLabel, font ); CONFIG_GENERIC_NO_BOOL( "freetype-font", Font, ui.fontLabel, font );
CONFIG_GENERIC( "freetype-color", IntegerList, ui.fontColorLabel, CONFIG_GENERIC_NO_BOOL( "freetype-color", Color, ui.fontColorLabel,
fontColor ); fontColor );
CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList, CONFIG_GENERIC( "freetype-rel-fontsize", IntegerList,
ui.fontSizeLabel, fontSize ); ui.fontSizeLabel, fontSize );
......
...@@ -153,13 +153,7 @@ ...@@ -153,13 +153,7 @@
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QComboBox" name="fontColor"> <widget class="QPushButton" name="fontColor">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
......
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