stylesheets: move white header section to default stylesheet

This commit is contained in:
Megamouse 2017-08-15 22:04:08 +02:00 committed by Ani
parent ea462ae7d7
commit a18fddb831
3 changed files with 3 additions and 9 deletions

View File

@ -287,7 +287,7 @@ void rpcs3_app::OnChangeStyleSheetRequest(const QString& sheetFilePath)
QFile file(sheetFilePath);
if (sheetFilePath == "")
{
setStyleSheet("");
setStyleSheet("QWidget#header_section {background-color: #ffffff}");
}
else if (file.open(QIODevice::ReadOnly | QIODevice::Text))
{

View File

@ -37,10 +37,7 @@
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
<widget class="QWidget" name="header_section" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QWidget" name="widget_2" native="true">

View File

@ -43,10 +43,7 @@
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widget_3" native="true">
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);</string>
</property>
<widget class="QWidget" name="header_section" native="true">
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">