summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/MultiMC.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp
index f928d11b..230d757f 100644
--- a/application/MultiMC.cpp
+++ b/application/MultiMC.cpp
@@ -1156,6 +1156,15 @@ MainWindow* MultiMC::showMainWindow(bool minimized)
auto kernelInfo = Sys::getKernelInfo();
customValues["cd5"] = kernelInfo.kernelName;
customValues["cd6"] = kernelInfo.kernelVersion;
+ auto distInfo = Sys::getDistributionInfo();
+ if(!distInfo.distributionName.isEmpty())
+ {
+ customValues["cd7"] = distInfo.distributionName;
+ }
+ if(!distInfo.distributionVersion.isEmpty())
+ {
+ customValues["cd8"] = distInfo.distributionVersion;
+ }
m_analytics->sendScreenView("Main Window", customValues);
}
return m_mainWindow;