Fix some Qt warnings (#3731)
-Fix a missing QPainter::restore call -Remove 0px font sizes from our qss, which was just getting ignored by Qt and triggering a warning Signed-off-by: nvsickle <nvsickle@amazon.com>
This commit is contained in:
committed by
GitHub
parent
6e3b03dfaa
commit
dd3bdcd3f4
@@ -48,7 +48,6 @@ OutlinerCheckBox
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
margin: 0px;
|
||||
background-color: none;
|
||||
max-height: 20px;
|
||||
@@ -66,7 +65,6 @@ OutlinerCheckBox::indicator
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -2505,7 +2505,6 @@ OutlinerCheckBox
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
margin: 2px 2px 0 2px;
|
||||
background-color: none;
|
||||
max-height: 20px;
|
||||
|
||||
@@ -43,7 +43,6 @@ AzToolsFramework--EntityOutlinerCheckBox
|
||||
padding: 0;
|
||||
padding-right: 2px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
margin: 0px;
|
||||
max-height: 20px;
|
||||
max-width: 18px;
|
||||
@@ -59,7 +58,6 @@ AzToolsFramework--EntityOutlinerCheckBox::indicator
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
line-height: 0px;
|
||||
font-size: 0px;
|
||||
margin: 3px 0 0 0;
|
||||
max-width: 18px;
|
||||
width: 18px;
|
||||
|
||||
@@ -99,5 +99,6 @@ namespace AzToolsFramework
|
||||
|
||||
// Draw border at the bottom
|
||||
painter->drawLine(rect.bottomLeft(), rect.bottomRight());
|
||||
painter->restore();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user