From 624cc824d2304779e87bd22c5dcc23a7576fa201 Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Sat, 5 Oct 2013 00:18:06 -0400 Subject: [PATCH] remove 2 methods which have never been implemented --- src/ShellCommand.cpp | 10 ---------- src/ShellCommand.h | 5 ----- 2 files changed, 15 deletions(-) diff --git a/src/ShellCommand.cpp b/src/ShellCommand.cpp index 2b059a16e..8df9d9c98 100644 --- a/src/ShellCommand.cpp +++ b/src/ShellCommand.cpp @@ -61,16 +61,6 @@ QStringList ShellCommand::arguments() const { return _arguments; } -bool ShellCommand::isRootCommand() const -{ - Q_ASSERT(0); // not implemented yet - return false; -} -bool ShellCommand::isAvailable() const -{ - Q_ASSERT(0); // not implemented yet - return false; -} QStringList ShellCommand::expand(const QStringList& items) { QStringList result; diff --git a/src/ShellCommand.h b/src/ShellCommand.h index 55e324e16..d5e19db98 100644 --- a/src/ShellCommand.h +++ b/src/ShellCommand.h @@ -73,11 +73,6 @@ public: */ QString fullCommand() const; - /** Returns true if this is a root command. */ - bool isRootCommand() const; - /** Returns true if the program specified by @p command() exists. */ - bool isAvailable() const; - /** Expands environment variables in @p text .*/ static QString expand(const QString& text);