Clean up code (#3431)

* Empty destructors are replaced with default destructors
* A few loop variables made into const references to avoid copies
* Add missing `override` spec for some `Command::execute` methods
This commit is contained in:
James Ring 2019-08-19 12:19:32 -07:00 committed by Janek Bevendorff
parent 7cbcea18e9
commit b9e1088f74
27 changed files with 12 additions and 78 deletions

View file

@ -35,10 +35,6 @@ Remove::Remove()
positionalArguments.append({QString("entry"), QObject::tr("Path of the entry to remove."), QString("")});
}
Remove::~Remove()
{
}
int Remove::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{
bool quiet = parser->isSet(Command::QuietOption);