DolphinQt: Make GetOS const
This commit is contained in:
parent
5f21683343
commit
14c3445ad2
|
@ -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! */
|
||||
|
|
|
@ -27,5 +27,5 @@ private:
|
|||
std::unique_ptr<Ui::DSystemInfo> m_ui;
|
||||
|
||||
void UpdateSystemInfo();
|
||||
QString GetOS();
|
||||
QString GetOS() const;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue