[qet] qet/qet: [5431] Fix bug #162 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5431
Author: scorpio810
Date: 2018-07-09 01:31:34 +0200 (Mon, 09 Jul 2018)
Log Message:
-----------
Fix bug #162
Modified Paths:
--------------
trunk/sources/ui/dialogwaiting.cpp
trunk/sources/ui/dialogwaiting.ui
Modified: trunk/sources/ui/dialogwaiting.cpp
===================================================================
--- trunk/sources/ui/dialogwaiting.cpp 2018-07-08 20:29:52 UTC (rev 5430)
+++ trunk/sources/ui/dialogwaiting.cpp 2018-07-08 23:31:34 UTC (rev 5431)
@@ -65,6 +65,7 @@
*/
void DialogWaiting::setProgressBarRange(int min, int max){
ui->progressBar->setRange(min,max);
+ ui->progressBar->setFormat(QObject::tr("%p% effectué (%v sur %m)"));
}
/**
Modified: trunk/sources/ui/dialogwaiting.ui
===================================================================
--- trunk/sources/ui/dialogwaiting.ui 2018-07-08 20:29:52 UTC (rev 5430)
+++ trunk/sources/ui/dialogwaiting.ui 2018-07-08 23:31:34 UTC (rev 5431)
@@ -78,9 +78,6 @@
<property name="value">
<number>0</number>
</property>
- <property name="format">
- <string> %p% (%v sur %m)</string>
- </property>
</widget>
</item>
</layout>