mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-30 03:16:42 -05:00
some cppcheck and clang-tidy fixies
This commit is contained in:
parent
ac7face247
commit
98badfb4a2
9 changed files with 16 additions and 14 deletions
|
|
@ -60,8 +60,8 @@ int Import::execute(const QStringList& arguments)
|
|||
TextStream errorTextStream(Utils::STDERR, QIODevice::WriteOnly);
|
||||
|
||||
const QStringList args = parser->positionalArguments();
|
||||
const QString xmlExportPath = args.at(0);
|
||||
const QString dbPath = args.at(1);
|
||||
const QString& xmlExportPath = args.at(0);
|
||||
const QString& dbPath = args.at(1);
|
||||
|
||||
if (QFileInfo::exists(dbPath)) {
|
||||
errorTextStream << QObject::tr("File %1 already exists.").arg(dbPath) << endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue