Merge lp:~gcollura/ubuntu-calculator-app/reboot-delay-db-transactions into lp:ubuntu-calculator-app
| Status: | Merged |
|---|---|
| Approved by: | Riccardo Padovani on 2015-01-15 |
| Approved revision: | 64 |
| Merged at revision: | 63 |
| Proposed branch: | lp:~gcollura/ubuntu-calculator-app/reboot-delay-db-transactions |
| Merge into: | lp:ubuntu-calculator-app |
| Diff against target: |
53 lines (+24/-6) 1 file modified
app/engine/CalculationHistory.qml (+24/-6) |
| To merge this branch: | bzr merge lp:~gcollura/ubuntu-calculator-app/reboot-delay-db-transactions |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve on 2015-01-15 | |
| Riccardo Padovani | 2015-01-15 | Approve on 2015-01-15 | |
|
Review via email:
|
|||
Commit Message
Make use of Timer to delay db transactions.
Description of the Change
I've inserted a QML Timer with a execute list property that enqueue all db transactions and execute them after a while (500 ms) to avoid to block the UI when inserting or deleting calculations.
- 64. By Giulio Collura on 2015-01-15
-
timer.start() is better than timer.restart() for various reasons
PASSED: Continuous integration, rev:63
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://


After a talk with Giulio about timer.start() vs timer.restart() I approve this version.
Thanks!