mirror of
https://github.com/QuasarApp/CopyrightFixer.git
synced 2025-04-27 18:24:42 +00:00
Update src/CopyrighFixer/CopyrighFixer/sign.cpp
Co-authored-by: Andrei Yankovich <EndrIIMail@gmail.com>
This commit is contained in:
parent
1bb3c08f1f
commit
c867e7917e
@ -47,8 +47,8 @@ const QString &Signature::getMessage() const {
|
||||
|
||||
bool Signature::fromJson(const QString &pathToFile) {
|
||||
|
||||
QFileInfo signFile(pathToFile);
|
||||
if (signFile.exists() && signFile.isFile()) {
|
||||
QFile file(pathToFile);
|
||||
if (file.exists()) {
|
||||
|
||||
QFile file(pathToFile);
|
||||
if (!file.open(QIODevice::ReadOnly)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user