diff options
author | saturneric <[email protected]> | 2025-04-18 17:11:40 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-04-18 17:11:40 +0000 |
commit | 502a43488d51c88be33d95be11ba8f160c2a3fd4 (patch) | |
tree | 87ee50bc5fdb1ca89d71ccfc988b1e6f67550f83 /src/ui/UserInterfaceUtils.cpp | |
parent | feat: add more info check (diff) | |
download | GpgFrontend-502a43488d51c88be33d95be11ba8f160c2a3fd4.tar.gz GpgFrontend-502a43488d51c88be33d95be11ba8f160c2a3fd4.zip |
feat: add more basic env checks at init
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r-- | src/ui/UserInterfaceUtils.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp index ed76824a..b5747b9f 100644 --- a/src/ui/UserInterfaceUtils.cpp +++ b/src/ui/UserInterfaceUtils.cpp @@ -167,6 +167,14 @@ void CommonUtils::RaiseMessageBox(QWidget *parent, GpgError err) { } } +void CommonUtils::RaiseMessageBoxNotSupported(QWidget *parent) { + QMessageBox::warning( + parent, QObject::tr("Operation Not Supported"), + QObject::tr( + "The current GnuPG version is too low and does not support this " + "operation. Please upgrade your GnuPG version to continue.")); +} + void CommonUtils::RaiseFailureMessageBox(QWidget *parent, GpgError err, const QString &msg) { GpgErrorDesc desc = DescribeGpgErrCode(err); |