summaryrefslogtreecommitdiffstats
path: root/logic/updater/GoUpdate.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/updater/GoUpdate.h')
-rw-r--r--logic/updater/GoUpdate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/updater/GoUpdate.h b/logic/updater/GoUpdate.h
index 21976f8f..479f1eeb 100644
--- a/logic/updater/GoUpdate.h
+++ b/logic/updater/GoUpdate.h
@@ -68,7 +68,7 @@ struct Operation
{
static Operation CopyOp(QString fsource, QString fdest, int fmode=0644)
{
- return Operation{OP_COPY, fsource, fdest, fmode};
+ return Operation{OP_REPLACE, fsource, fdest, fmode};
}
static Operation DeleteOp(QString file)
{
@@ -84,7 +84,7 @@ struct Operation
//! Specifies the type of operation that this is.
enum Type
{
- OP_COPY,
+ OP_REPLACE,
OP_DELETE,
} type;