Remove wireless disconnect callback.

Make an interruptable sleep so the USB connection can be aborted more quickly.
Updated translations.
This commit is contained in:
codestation
2014-01-03 16:08:16 -04:30
parent a2468ddf7a
commit 9784332bae
6 changed files with 49 additions and 37 deletions

View File

@@ -28,6 +28,7 @@
#include <QObject>
#include <QSemaphore>
#include <QString>
#include <QWaitCondition>
#include <vitamtp.h>
@@ -59,11 +60,11 @@ private:
//TODO: move all the control variables to the client manager class
static bool is_active;
static bool in_progress;
static int is_cancelled;
static CmaClient *this_object;
static QMutex mutex;
static QMutex runner;
static QMutex cancel;
static QMutex usbwait;
static QWaitCondition usbcondition;
static QSemaphore sema;
signals: