summaryrefslogtreecommitdiffstats
path: root/logic/NullInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-22 01:06:45 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-22 01:06:45 +0200
commit9ba1cd15e7f902cae705ff22451e4f76ad0d71ab (patch)
treeaafc4d87d81489d3e8ab782c8b7922c44f1ea192 /logic/NullInstance.h
parentb10761711234b69cf8509bacb055f7d5c3c021e8 (diff)
downloadMultiMC-9ba1cd15e7f902cae705ff22451e4f76ad0d71ab.tar
MultiMC-9ba1cd15e7f902cae705ff22451e4f76ad0d71ab.tar.gz
MultiMC-9ba1cd15e7f902cae705ff22451e4f76ad0d71ab.tar.lz
MultiMC-9ba1cd15e7f902cae705ff22451e4f76ad0d71ab.tar.xz
MultiMC-9ba1cd15e7f902cae705ff22451e4f76ad0d71ab.zip
GH-1217 add simple instance play time tracking
Not reliable in the face of crashes... but what is?
Diffstat (limited to 'logic/NullInstance.h')
-rw-r--r--logic/NullInstance.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/NullInstance.h b/logic/NullInstance.h
index ebfe4f56..cf304f9f 100644
--- a/logic/NullInstance.h
+++ b/logic/NullInstance.h
@@ -78,4 +78,8 @@ public:
{
return instanceRoot();
}
+ virtual QString typeName() const
+ {
+ return "Null";
+ }
};