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

@ -49,10 +49,6 @@ Show::Show()
positionalArguments.append({QString("entry"), QObject::tr("Name of the entry to show."), QString("")});
}
Show::~Show()
{
}
int Show::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{
TextStream outputTextStream(Utils::STDOUT, QIODevice::WriteOnly);