We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 264eff9 + 0e1f354 commit f00c172Copy full SHA for f00c172
src/ui/main_window/MainWindowFileSlotFunction.cpp
@@ -465,7 +465,7 @@ void MainWindow::SlotFileVerify(const QString& path) {
465
if (prossible_singleton_target) {
466
swap(data_file_path, sign_file_path);
467
} else {
468
- data_file_path = file_info.path() + "/" + file_info.baseName();
+ data_file_path = file_info.path() + "/" + file_info.completeBaseName();
469
}
470
471
auto data_file_info = QFileInfo(data_file_path);
@@ -480,7 +480,8 @@ void MainWindow::SlotFileVerify(const QString& path) {
480
481
if (!ok) return;
482
483
- data_file_path = text.isEmpty() ? path : text;
+ data_file_path = text.isEmpty() ? data_file_path : text;
484
+ data_file_info = QFileInfo(data_file_path);
485
486
487
if (!data_file_info.isFile() ||
0 commit comments