diff options
author | Saturn&Eric <[email protected]> | 2024-01-31 13:13:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-31 13:13:53 +0000 |
commit | b79cb4ecb942b0c4fb8fe7955d1c6a777f13bef6 (patch) | |
tree | be0c854dbd2c64a980003e91fa843718346635d6 /src/ui/dialog/keypair_details/KeyPairOperaTab.cpp | |
parent | Merge pull request #127 from saturneric/dev/2.1.1/main (diff) | |
parent | fix: copy qt5 dlls at qt5 build mode (diff) | |
download | GpgFrontend-b79cb4ecb942b0c4fb8fe7955d1c6a777f13bef6.tar.gz GpgFrontend-b79cb4ecb942b0c4fb8fe7955d1c6a777f13bef6.zip |
Merge pull request #128 from saturneric/dev/2.1.1/main
Develop 2.1.2.3
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/keypair_details/KeyPairOperaTab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp b/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp index 6e4a1df0..74f827aa 100644 --- a/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp +++ b/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp @@ -432,7 +432,12 @@ void KeyPairOperaTab::slot_import_revoke_cert() { } QFile rev_file(rev_file_info.absoluteFilePath()); + +#ifdef QT5_BUILD + if (!rev_file.open(QIODevice::ReadOnly)) { +#else if (!rev_file.open(QIODeviceBase::ReadOnly)) { +#endif QMessageBox::critical( this, tr("Error"), tr("Cannot open this file. Please make sure that this " |