Commit 3c5ad8a6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt, Mac: use the classical blue for the selector

parent 2169b78f
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <QTreeWidgetItem> #include <QTreeWidgetItem>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QPainter> #include <QPainter>
#include <QPalette>
#include <vlc_playlist.h> #include <vlc_playlist.h>
#include <vlc_services_discovery.h> #include <vlc_services_discovery.h>
...@@ -139,6 +140,13 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf ) ...@@ -139,6 +140,13 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
/* select the first item */ /* select the first item */
// view->setCurrentIndex( model->index( 0, 0, QModelIndex() ) ); // view->setCurrentIndex( model->index( 0, 0, QModelIndex() ) );
setAutoFillBackground( true );
#ifdef Q_WS_MAC
QPalette palette;
palette.setColor( QPalette::Window, QColor(209,215,226) );
setPalette( palette );
#endif
} }
PLSelector::~PLSelector() PLSelector::~PLSelector()
......
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