summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/progresscoordinator.h
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2013-11-06 13:05:16 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2013-11-06 13:51:55 +0100
commitfd26174d2cf0d8b0887007075a6be2933a1f595a (patch)
tree67ca667d01adabe17991831c132e4db6c5d28ff4 /src/libs/installer/progresscoordinator.h
parent113c0e0450b09816aaa43e26f9646e594533b33c (diff)
Always only delete the install directory if it's empty.
We have to reset the force removal flag inside the operation to not delete any other files/ folders than our own created. Once the flag is set to false, the operation will fail on any file/ folder still left in the install path. Note: the config.rcc is a dummy file to calm down settings class parser warnings. Change-Id: I66efb5836e310bdb1b64e5647ee76c058cea2a7e Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/progresscoordinator.h')
-rw-r--r--src/libs/installer/progresscoordinator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/installer/progresscoordinator.h b/src/libs/installer/progresscoordinator.h
index 263b25695..bdd154195 100644
--- a/src/libs/installer/progresscoordinator.h
+++ b/src/libs/installer/progresscoordinator.h
@@ -42,13 +42,15 @@
#ifndef PROGRESSCOORDINATOR_H
#define PROGRESSCOORDINATOR_H
+#include "installer_global.h"
+
#include <QtCore/QHash>
#include <QtCore/QObject>
#include <QtCore/QPointer>
namespace QInstaller {
-class ProgressCoordinator : public QObject
+class INSTALLER_EXPORT ProgressCoordinator : public QObject
{
Q_OBJECT