X-Git-Url: https://vaikene.ee/gitweb/gitweb.cgi?p=evaf;a=blobdiff_plain;f=src%2Fapps%2FPswGen%2FStorage%2Fmodule.cpp;fp=src%2Fapps%2FPswGen%2FStorage%2Fmodule.cpp;h=8e65360d2c8a29e323b090113a77e56a34565796;hp=fc75dbb194fc57070e34baaa3a37bb3d9ec8a376;hb=4c0329c5c2690bde28212c89029015a5da4c7e34;hpb=13dedf19c628b9967e4c4106ab0fd967f1df0b90 diff --git a/src/apps/PswGen/Storage/module.cpp b/src/apps/PswGen/Storage/module.cpp index fc75dbb..8e65360 100644 --- a/src/apps/PswGen/Storage/module.cpp +++ b/src/apps/PswGen/Storage/module.cpp @@ -3,7 +3,7 @@ * @brief Implementation of the iStorage interface * @author Enar Vaikene * - * Copyright (c) 2011-2012 Enar Vaikene + * Copyright (c) 2011-2019 Enar Vaikene * * This file is part of the eVaf C++ cross-platform application development framework. * @@ -57,7 +57,7 @@ Module::~Module() bool Module::init(QString const & args) { - Q_UNUSED(args); + Q_UNUSED(args) if (!mStorage->init()) return false; @@ -149,8 +149,8 @@ void StorageImpl::done() bool StorageImpl::save(QString const & name, QExplicitlySharedDataPointer data) { - EVAF_TEST_X(data, "Data cannot be null"); - EVAF_TEST_X(!name.isEmpty(), "Name cannot be empty"); + EVAF_TEST_X(data, "Data cannot be null") + EVAF_TEST_X(!name.isEmpty(), "Name cannot be empty") if (!QSqlDatabase::contains(DbConnectionName)) {