Add a new page that can show all sorts of logs

This commit is contained in:
Jan Dalheimer
2014-07-12 17:58:23 +02:00
committed by Petr Mrázek
parent aba1f89e2a
commit 5c43842359
29 changed files with 622 additions and 146 deletions

View File

@ -33,17 +33,17 @@
#include "logic/Mod.h"
#include <logic/VersionFilterData.h>
QString ModFolderPage::displayName()
QString ModFolderPage::displayName() const
{
return m_displayName;
}
QIcon ModFolderPage::icon()
QIcon ModFolderPage::icon() const
{
return QIcon::fromTheme(m_iconName);
}
QString ModFolderPage::id()
QString ModFolderPage::id() const
{
return m_id;
}
@ -80,14 +80,14 @@ ModFolderPage::~ModFolderPage()
delete ui;
}
bool ModFolderPage::shouldDisplay()
bool ModFolderPage::shouldDisplay() const
{
if(m_inst)
return !m_inst->isRunning();
return true;
}
bool CoreModFolderPage::shouldDisplay()
bool CoreModFolderPage::shouldDisplay() const
{
if (ModFolderPage::shouldDisplay())
{