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 authored and Janek Bevendorff committed 2019-08-19 21:19:32 +02:00
1 parent 7cbcea18e9
commit b9e1088f74
27 files changed
+12 -78

No files matched your search

-4
View File
@@ -62,10 +62,6 @@ Add::Add()
positionalArguments.append({QString("entry"), QObject::tr("Path of the entry to add."), QString("")});
}
Add::~Add()
{
}
int Add::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer<QCommandLineParser> parser)
{
TextStream inputTextStream(Utils::STDIN, QIODevice::ReadOnly);