mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix SIGFPE in QProgressBar::paintEvent
When feenableexcept(FE_INVALID | FE_DIVBYZERO) is activated.
This commit is contained in:
parent
d1be3f3a4f
commit
08258ca8b8
@ -521,6 +521,7 @@ SubFileItem QProgressBar#progressBar::chunk {
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
border: 1px solid black;
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
PluginItem QLabel#infoLabel {
|
||||
|
@ -27,9 +27,11 @@ QProgressBar:horizontal {
|
||||
text-align: center;
|
||||
padding: 1px;
|
||||
background: #201F1F;
|
||||
width: 15px;
|
||||
}
|
||||
QProgressBar::chunk:horizontal {
|
||||
background-color: qlineargradient(spread:reflect, x1:1, y1:0.545, x2:1, y2:0, stop:0 rgba(28, 66, 111, 255), stop:1 rgba(37, 87, 146, 255));
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
QFrame#titleBarFrame, QFrame#toolBarFrame
|
||||
|
Loading…
Reference in New Issue
Block a user