summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/registerfiletypeoperation.h
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@theqtcompany.com>2016-02-01 15:23:23 +0200
committerKatja Marttila <katja.marttila@theqtcompany.com>2016-02-29 12:17:57 +0000
commit1d781f73424095d816e7c360abf6ab2c127cb8b3 (patch)
tree3cee57bcea3458a3ce3f5b6e0a549bce63010383 /src/libs/installer/registerfiletypeoperation.h
parent7b6c2da46f9fab73d75aaf42ed7fbb063f4369f3 (diff)
Fix arguments in RegisterFileType
When using RegisterFileType, argumens include progId. Removed it from arguments and saved as member variable. This way progId won't interfere argument check count and it can be used also in undo operation. Change-Id: Ic80a54a28b5e171a5d4e3023b58eb1636a16fa49 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/registerfiletypeoperation.h')
-rw-r--r--src/libs/installer/registerfiletypeoperation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libs/installer/registerfiletypeoperation.h b/src/libs/installer/registerfiletypeoperation.h
index 0c50ab02b..e427b5aaa 100644
--- a/src/libs/installer/registerfiletypeoperation.h
+++ b/src/libs/installer/registerfiletypeoperation.h
@@ -49,6 +49,12 @@ public:
bool performOperation();
bool undoOperation();
bool testOperation();
+
+private:
+ void ensureOptionalArgumentsRead();
+
+ bool m_optionalArgumentsRead;
+ QString m_progId;
};
}