Skip to content
Snippets Groups Projects
Commit 4d3a26be authored by Daniel Teske's avatar Daniel Teske
Browse files

RemoteLinuxRunconfiguration: Remove disabledReason()/setDisabledReason()


setDisabledReason() is never called so disabledReason() always returns
QString(). The base class implementation can handle that job, too.

Change-Id: I9f3f7cad2e8abc39f0d5001fa44506d81fe47e44
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent efe6e466
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,6 @@ public:
QString projectFilePath;
QString gdbPath;
QStringList arguments;
QString disabledReason;
bool useAlternateRemoteExecutable;
QString alternateRemoteExecutable;
QString workingDirectory;
......@@ -123,11 +122,6 @@ bool RemoteLinuxRunConfiguration::isEnabled() const
return true;
}
QString RemoteLinuxRunConfiguration::disabledReason() const
{
return d->disabledReason;
}
QWidget *RemoteLinuxRunConfiguration::createConfigurationWidget()
{
return new RemoteLinuxRunConfigurationWidget(this);
......@@ -273,11 +267,6 @@ QString RemoteLinuxRunConfiguration::projectFilePath() const
return d->projectFilePath;
}
void RemoteLinuxRunConfiguration::setDisabledReason(const QString &reason) const
{
d->disabledReason = reason;
}
const char *RemoteLinuxRunConfiguration::IdPrefix = "RemoteLinuxRunConfiguration:";
} // namespace RemoteLinux
......@@ -63,7 +63,6 @@ public:
~RemoteLinuxRunConfiguration();
bool isEnabled() const;
QString disabledReason() const;
QWidget *createConfigurationWidget();
Utils::OutputFormatter *createOutputFormatter() const;
......@@ -98,7 +97,6 @@ protected:
RemoteLinuxRunConfiguration *source);
bool fromMap(const QVariantMap &map);
QString defaultDisplayName();
void setDisabledReason(const QString &reason) const;
protected slots:
void updateEnabledState() { emit enabledChanged(); }
......
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