Skip to content
Snippets Groups Projects
Commit 1a81c33e authored by Friedemann Kleint's avatar Friedemann Kleint Committed by hjk
Browse files

Debugger: Fix compilation on Windows.


Broken by f77cd29e.

Change-Id: I3cbb4e90ffae45ca1475b0de1a00cb5ee58f966a
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 7b856ee4
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,8 @@ CdbOptionsPage::CdbOptionsPage() :
CdbOptionsPage::m_instance = this;
m_options->fromSettings(Core::ICore::settings());
setId(QLatin1String("F.Cda")); // before old CDB
setId(CdbOptionsPage::settingsId());
setDisplayName(tr("CDB"));
setCategory(QLatin1String(Debugger::Constants::DEBUGGER_SETTINGS_CATEGORY));
setDisplayCategory(QCoreApplication::translate("Debugger",
......@@ -239,6 +240,11 @@ CdbOptionsPage::CdbOptionsPage() :
setCategoryIcon(QLatin1String(Constants::DEBUGGER_COMMON_SETTINGS_CATEGORY_ICON));
}
QString CdbOptionsPage::settingsId()
{
return QLatin1String("F.Cda");
}
CdbOptionsPage::~CdbOptionsPage()
{
CdbOptionsPage::m_instance = 0;
......
......@@ -100,6 +100,7 @@ public:
virtual ~CdbOptionsPage();
static CdbOptionsPage *instance();
static QString settingsId();
// IOptionsPage
QWidget *createPage(QWidget *parent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment