Merge lp:~par-hellstrom/forssim/loadCursorDuringDownload_397767 into lp:forssim

Proposed by parhe
Status: Merged
Merged at revision: not available
Proposed branch: lp:~par-hellstrom/forssim/loadCursorDuringDownload_397767
Merge into: lp:forssim
Diff against target: None lines
To merge this branch: bzr merge lp:~par-hellstrom/forssim/loadCursorDuringDownload_397767
Reviewer Review Type Date Requested Status
Ulrika Dreifaldt Approve
Review via email: mp+9088@code.launchpad.net
To post a comment you must log in.
Revision history for this message
parhe (par-hellstrom) wrote :

"added wait cursor when downloading timestampfiles"

Revision history for this message
Ulrika Dreifaldt (ulrika-dreifaldt) wrote :

Tested the branch and it works well!

Will merge it

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'FsWisdom/SelectCaseWindow.cpp'
2--- FsWisdom/SelectCaseWindow.cpp 2009-07-16 14:36:05 +0000
3+++ FsWisdom/SelectCaseWindow.cpp 2009-07-21 08:22:31 +0000
4@@ -193,6 +193,7 @@
5 query.bindValue(":timestamp",selectedTimestamp);
6
7
8+ this->applicationNode->setOverrideCursor(QCursor(Qt::WaitCursor));
9 if(query.exec())
10 {
11 query.next();
12@@ -211,8 +212,10 @@
13 std::cout << "Failed to write to file: " << QFileInfo(file).absoluteFilePath().toStdString() << std::endl;
14 }
15 else
16+ {
17 std::cout << "Failed to read archive file from server: " << std::endl;
18-
19+ }
20+ this->applicationNode->restoreOverrideCursor();
21 }
22 }
23 }

Subscribers

People subscribed via source and target branches

to all changes: