From 14c3445ad246317db9a507bb0b2e5a6e209201e3 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 25 Oct 2014 21:51:58 -0400 Subject: [PATCH] DolphinQt: Make GetOS const --- Source/Core/DolphinQt/SystemInfo.cpp | 2 +- Source/Core/DolphinQt/SystemInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; };