mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
00a8310523
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
14 lines
828 B
Diff
14 lines
828 B
Diff
diff --git a/vpn/openvpn/openvpnadvancedwidget.cpp b/vpn/openvpn/openvpnadvancedwidget.cpp
|
|
index 2f11ba1d..310f11b4 100644
|
|
--- a/vpn/openvpn/openvpnadvancedwidget.cpp
|
|
+++ b/vpn/openvpn/openvpnadvancedwidget.cpp
|
|
@@ -75,7 +75,7 @@ OpenVpnAdvancedWidget::OpenVpnAdvancedWidget(const NetworkManager::VpnSetting::P
|
|
connect(m_ui->cmbProxyType, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &OpenVpnAdvancedWidget::proxyTypeChanged);
|
|
|
|
// start openVPN process and get its cipher list
|
|
- const QString openVpnBinary = QStandardPaths::findExecutable("openvpn", QStringList{"/sbin", "/usr/sbin"});
|
|
+ const QString openVpnBinary = "@openvpn@/bin/openvpn";
|
|
const QStringList ciphersArgs(QLatin1String("--show-ciphers"));
|
|
const QStringList versionArgs(QLatin1String("--version"));
|
|
|