FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

[linux-minidisc] Fixing a bug in qhimduploaddialog

<-- thread -->
<-- date -->
  • From: Thomas Arp <manner.moe@gmx.de>
  • To: "linux-minidisc@lists.fu-berlin.de" <linux-minidisc@lists.fu-berlin.de>
  • Date: Fri, 26 Apr 2013 21:27:14 +0200
  • Subject: [linux-minidisc] Fixing a bug in qhimduploaddialog

Hi,
here is another small patch fixing a bug in qhimduploaddialog.

"canceled" variable has to be set to false in init() or finished() function.
Else if an upload was canceled by the user all following uploads are canceled automatically because canceled variable is still set to true.

Thomas
>From a4bdc3c1376c202d526caa79fbefd95842e6232d Mon Sep 17 00:00:00 2001
From: Thomas Arp <manner.moe@gmx.de>
Date: Fri, 26 Apr 2013 21:19:56 +0200
Subject: [PATCH 2/2] reset "canceled" variable init function in
 qhimduploaddialog

---
 qhimdtransfer/qhimduploaddialog.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qhimdtransfer/qhimduploaddialog.cpp b/qhimdtransfer/qhimduploaddialog.cpp
index 4df44ca..acff6a7 100644
--- a/qhimdtransfer/qhimduploaddialog.cpp
+++ b/qhimdtransfer/qhimduploaddialog.cpp
@@ -64,6 +64,7 @@ void QHiMDUploadDialog::init(int trackcount, int totalblocks)
     allfinished = 0;
     m_ui->AllPBar->setRange(0, allblocks);
     m_ui->AllPBar->reset();
+    canceled = false;
 
     scount = fcount = 0;
     m_ui->success_text->setText("");
-- 
1.8.0.msysgit.0

<-- thread -->
<-- date -->
  • linux-minidisc - April 2013 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal