summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-22 01:25:34 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-22 01:25:34 +0200
commite60a652b78af8f985862da726898291f807ae058 (patch)
tree6f4f998c7b5853b1ab8156b6004a657350a468bb /logic/BaseInstance.h
parent9ba1cd15e7f902cae705ff22451e4f76ad0d71ab (diff)
downloadMultiMC-e60a652b78af8f985862da726898291f807ae058.tar
MultiMC-e60a652b78af8f985862da726898291f807ae058.tar.gz
MultiMC-e60a652b78af8f985862da726898291f807ae058.tar.lz
MultiMC-e60a652b78af8f985862da726898291f807ae058.tar.xz
MultiMC-e60a652b78af8f985862da726898291f807ae058.zip
GH-1217 reset time played on zip pack import
Diffstat (limited to 'logic/BaseInstance.h')
-rw-r--r--logic/BaseInstance.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/BaseInstance.h b/logic/BaseInstance.h
index 32a4d1cd..8c0c098b 100644
--- a/logic/BaseInstance.h
+++ b/logic/BaseInstance.h
@@ -71,7 +71,8 @@ public:
void setRunning(bool running);
bool isRunning() const;
- int64_t totalTimePlayed();
+ int64_t totalTimePlayed() const;
+ void resetTimePlayed();
/// get the type of this instance
QString instanceType() const;