Fixed big performance issues in release executable.

This commit is contained in:
Khopa 2020-08-13 16:53:56 +02:00
parent ef024b5118
commit 01ea4fa7a6
3 changed files with 1 additions and 21 deletions

View File

@ -5,6 +5,7 @@
## Fixed issues : ## Fixed issues :
**[Units/Factions]** Fixed OH-58D not being used by AI **[Units/Factions]** Fixed OH-58D not being used by AI
**[Units/Factions]** Fixed big performance issue in new release UI that occurred only when running the .exe
# 2.0.10 # 2.0.10

View File

@ -85,13 +85,11 @@ QPushButton {
border: 1px solid #97A9A9; border: 1px solid #97A9A9;
color:#fff; color:#fff;
padding: 6px 10px; padding: 6px 10px;
cursor: pointer;
border-radius:2px; border-radius:2px;
} }
QPushButton:hover { QPushButton:hover {
background: #6c7b7f; background: #6c7b7f;
cursor:pointer;
} }
/*btn-primary*/ /*btn-primary*/
@ -101,7 +99,6 @@ QPushButton[style="btn-primary"]{
color:#fff; color:#fff;
padding: 6px; padding: 6px;
border-radius:2px; border-radius:2px;
cursor: pointer;
font-weight:bold; font-weight:bold;
text-transform:uppercase; text-transform:uppercase;
} }
@ -114,7 +111,6 @@ QPushButton[style="btn-primary"]:hover{
QPushButton[style="btn-success"] , QPushButton[style="start-button"]{ QPushButton[style="btn-success"] , QPushButton[style="start-button"]{
background-color:#82A466; background-color:#82A466;
color: white; color: white;
cursor:pointer;
border-radius:2px; border-radius:2px;
font-weight:bold; font-weight:bold;
text-transform:uppercase; text-transform:uppercase;
@ -134,7 +130,6 @@ QPushButton[style="btn-success"]:hover , QPushButton[style="start-button"]:hover
QPushButton[style="btn-buy"]{ QPushButton[style="btn-buy"]{
background-color:#82A466; background-color:#82A466;
color: white; color: white;
cursor:pointer;
border-radius:2px; border-radius:2px;
font-weight:bold; font-weight:bold;
text-transform:uppercase; text-transform:uppercase;
@ -143,7 +138,6 @@ QPushButton[style="btn-buy"]{
} }
QPushButton[style="btn-buy"]:hover{ QPushButton[style="btn-buy"]:hover{
cursor:pointer;
background:#5C863F; background:#5C863F;
} }
@ -151,7 +145,6 @@ QPushButton[style="btn-buy"]:hover{
QPushButton[style="btn-sell"]{ QPushButton[style="btn-sell"]{
background-color:#9E3232; background-color:#9E3232;
color: white; color: white;
cursor:pointer;
border-radius:2px; border-radius:2px;
font-weight:bold; font-weight:bold;
text-transform:uppercase; text-transform:uppercase;
@ -160,7 +153,6 @@ QPushButton[style="btn-sell"]{
} }
QPushButton[style="btn-sell"]:hover{ QPushButton[style="btn-sell"]:hover{
cursor:pointer;
background:#D84545; background:#D84545;
} }
@ -169,7 +161,6 @@ QPushButton[style="btn-sell"]:hover{
QPushButton[style="btn-danger"]{ QPushButton[style="btn-danger"]{
background-color:#9E3232; background-color:#9E3232;
color: white; color: white;
cursor:pointer;
padding: 6px; padding: 6px;
border-radius:2px; border-radius:2px;
border: 1px solid #9E3232; border: 1px solid #9E3232;
@ -191,7 +182,6 @@ QLabel{
QLabel[style="base-title"]{ QLabel[style="base-title"]{
font-size: 24px; font-size: 24px;
font-color: #ccc;
} }
QLabel[style="icon-plane"]{ QLabel[style="icon-plane"]{

View File

@ -26,7 +26,6 @@ QTopPanel *{
QPushButton[style="btn-success"]{ QPushButton[style="btn-success"]{
background-color:#699245; background-color:#699245;
color: white; color: white;
cursor:pointer;
padding: 5px 5px 5px 5px; padding: 5px 5px 5px 5px;
border-radius:5px; border-radius:5px;
} }
@ -35,13 +34,11 @@ QPushButton[style="btn-success"]:hover{
background-color:#8ABC5A; background-color:#8ABC5A;
padding: 5px 5px 5px 5px; padding: 5px 5px 5px 5px;
border-radius:5px; border-radius:5px;
cursor: pointer;
} }
QPushButton[style="start-button"]{ QPushButton[style="start-button"]{
background-color:#699245; background-color:#699245;
color: white; color: white;
cursor:pointer;
padding: 5px 5px 5px 5px; padding: 5px 5px 5px 5px;
border-radius:5px; border-radius:5px;
} }
@ -50,14 +47,12 @@ QPushButton[style="start-button"]:hover{
background-color:#8ABC5A; background-color:#8ABC5A;
padding: 15px 15px 15px 15px; padding: 15px 15px 15px 15px;
border-radius:5px; border-radius:5px;
cursor: pointer;
} }
/* Buy button */ /* Buy button */
QPushButton[style="btn-buy"]{ QPushButton[style="btn-buy"]{
background-color:#82A466; background-color:#82A466;
color: white; color: white;
cursor:pointer;
border-radius:2px; border-radius:2px;
font-weight:bold; font-weight:bold;
text-transform:uppercase; text-transform:uppercase;
@ -66,7 +61,6 @@ QPushButton[style="btn-buy"]{
} }
QPushButton[style="btn-buy"]:hover{ QPushButton[style="btn-buy"]:hover{
cursor:pointer;
background:#5C863F; background:#5C863F;
} }
@ -74,7 +68,6 @@ QPushButton[style="btn-buy"]:hover{
QPushButton[style="btn-sell"]{ QPushButton[style="btn-sell"]{
background-color:#9E3232; background-color:#9E3232;
color: white; color: white;
cursor:pointer;
border-radius:2px; border-radius:2px;
font-weight:bold; font-weight:bold;
text-transform:uppercase; text-transform:uppercase;
@ -83,14 +76,12 @@ QPushButton[style="btn-sell"]{
} }
QPushButton[style="btn-sell"]:hover{ QPushButton[style="btn-sell"]:hover{
cursor:pointer;
background:#D84545; background:#D84545;
} }
QPushButton[style="btn-danger"]{ QPushButton[style="btn-danger"]{
background-color:#9E3232; background-color:#9E3232;
color: white; color: white;
cursor:pointer;
padding: 5px 5px 5px 5px; padding: 5px 5px 5px 5px;
border-radius:5px; border-radius:5px;
} }
@ -99,12 +90,10 @@ QPushButton[style="btn-danger"]:hover{
background-color:#D84545; background-color:#D84545;
padding: 5px 5px 5px 5px; padding: 5px 5px 5px 5px;
border-radius:5px; border-radius:5px;
cursor: pointer;
} }
QLabel[style="base-title"]{ QLabel[style="base-title"]{
font-size: 24px; font-size: 24px;
font-color: #ccc;
border: 1px solid #ccc; border: 1px solid #ccc;
} }