Add a new page that can show all sorts of logs
This commit is contained in:

committed by
Petr Mrázek

parent
aba1f89e2a
commit
5c43842359
@ -50,22 +50,22 @@
|
||||
#include <QString>
|
||||
#include <QUrl>
|
||||
|
||||
QString VersionPage::displayName()
|
||||
QString VersionPage::displayName() const
|
||||
{
|
||||
return tr("Version");
|
||||
}
|
||||
|
||||
QIcon VersionPage::icon()
|
||||
QIcon VersionPage::icon() const
|
||||
{
|
||||
return MMC->icons()->getIcon(m_inst->iconKey());
|
||||
}
|
||||
|
||||
QString VersionPage::id()
|
||||
QString VersionPage::id() const
|
||||
{
|
||||
return "version";
|
||||
}
|
||||
|
||||
bool VersionPage::shouldDisplay()
|
||||
bool VersionPage::shouldDisplay() const
|
||||
{
|
||||
return !m_inst->isRunning();
|
||||
}
|
||||
|
Reference in New Issue
Block a user