mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
ce77225e21
This is the thing you want to look at.
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"));
|
|
|