Commit 7bace63b authored by David Schulz's avatar David Schulz
Browse files

Debugger: Remove unneeded function from CdbOptions.



Change-Id: If9c6dd0f2fc53b7f5c7e5868bd57d01c9fc84d24
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent b3c8dec9
...@@ -317,7 +317,7 @@ DebuggerEngine *createCdbEngine(const DebuggerStartParameters &sp, QString *erro ...@@ -317,7 +317,7 @@ DebuggerEngine *createCdbEngine(const DebuggerStartParameters &sp, QString *erro
{ {
if (Utils::HostOsInfo::isWindowsHost()) { if (Utils::HostOsInfo::isWindowsHost()) {
CdbOptionsPage *op = CdbOptionsPage::instance(); CdbOptionsPage *op = CdbOptionsPage::instance();
if (!op || !op->options()->isValid() || !validMode(sp.startMode)) { if (!op || !validMode(sp.startMode)) {
*errorMessage = QLatin1String("Internal error: Invalid start parameters passed for thee CDB engine."); *errorMessage = QLatin1String("Internal error: Invalid start parameters passed for thee CDB engine.");
return 0; return 0;
} }
......
...@@ -46,8 +46,6 @@ public: ...@@ -46,8 +46,6 @@ public:
void clear(); void clear();
bool isValid() { return true; }
void fromSettings(QSettings *s); // Writes parameters on first-time autodetect void fromSettings(QSettings *s); // Writes parameters on first-time autodetect
void toSettings(QSettings *s) const; void toSettings(QSettings *s) const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment