diff --git a/Source/Core/DolphinQt/SystemInfo.cpp b/Source/Core/DolphinQt/SystemInfo.cpp index ca9ff2e07f..5494886706 100644 --- a/Source/Core/DolphinQt/SystemInfo.cpp +++ b/Source/Core/DolphinQt/SystemInfo.cpp @@ -60,7 +60,7 @@ void DSystemInfo::UpdateSystemInfo() m_ui->txtSysInfo->setPlainText(sysinfo); } -QString DSystemInfo::GetOS() +QString DSystemInfo::GetOS() const { QString ret; /* DON'T REORDER WITHOUT READING Qt DOCS! */ diff --git a/Source/Core/DolphinQt/SystemInfo.h b/Source/Core/DolphinQt/SystemInfo.h index fc34ab7517..cdc1a93ce9 100644 --- a/Source/Core/DolphinQt/SystemInfo.h +++ b/Source/Core/DolphinQt/SystemInfo.h @@ -27,5 +27,5 @@ private: std::unique_ptr m_ui; void UpdateSystemInfo(); - QString GetOS(); + QString GetOS() const; };