Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/widgets/dlicensedialog.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2023 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later

Expand Down Expand Up @@ -173,7 +173,7 @@ bool DLicenseDialogPrivate::loadLicense()
{
if (!content.isEmpty()) {
isValid = licenseInfo.loadContent(content);
} else if (!path.isEmpty()) {
} else {
isValid = licenseInfo.loadFile(path);
}
if (isValid) {
Expand Down
Loading