diff options
| author | Christoph Berg <myon@debian.org> | 2021-03-27 10:23:34 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-03-27 10:23:34 +0100 |
| commit | 5c88480ddc5c5dab1f3444a8b8de9303fd6140da (patch) | |
| tree | e7073b1ff21f63e0b62c5846d849360c1a87df93 /SampleDownloader/FileNode.cpp | |
| parent | 1c4a8c9374cacfc002e47c8e3bb824e82aa8441c (diff) | |
New upstream version 2.4.0~rc4+repackupstream/2.4.0_rc4+repack
Diffstat (limited to 'SampleDownloader/FileNode.cpp')
| -rw-r--r-- | SampleDownloader/FileNode.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/SampleDownloader/FileNode.cpp b/SampleDownloader/FileNode.cpp index 66864287..e274dc5a 100644 --- a/SampleDownloader/FileNode.cpp +++ b/SampleDownloader/FileNode.cpp @@ -27,7 +27,12 @@ FileNode::FileNode (QTreeWidgetItem * parent void FileNode::error (QString const& title, QString const& message) { - MessageBox::warning_message (treeWidget (), title, message); + if (MessageBox::Retry == MessageBox::warning_message (treeWidget (), title, message + , QString {}, MessageBox::Cancel | MessageBox::Retry + , MessageBox::Cancel)) + { + sync (true); + } } bool FileNode::sync (bool local) |
