Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
13 lines
828 B
Diff
13 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"));
|
|
|