biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / desktops / plasma-5 / plasma-nm / 0002-openvpn-binary-path.patch
blobc32e73bc2c6c2a89e8d46fc22bd41c9b276b2454
1 diff --git a/vpn/openvpn/openvpnadvancedwidget.cpp b/vpn/openvpn/openvpnadvancedwidget.cpp
2 index 2f11ba1d..310f11b4 100644
3 --- a/vpn/openvpn/openvpnadvancedwidget.cpp
4 +++ b/vpn/openvpn/openvpnadvancedwidget.cpp
5 @@ -75,7 +75,7 @@ OpenVpnAdvancedWidget::OpenVpnAdvancedWidget(const NetworkManager::VpnSetting::P
6 connect(m_ui->cmbProxyType, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &OpenVpnAdvancedWidget::proxyTypeChanged);
8 // start openVPN process and get its cipher list
9 - const QString openVpnBinary = QStandardPaths::findExecutable("openvpn", QStringList{"/sbin", "/usr/sbin"});
10 + const QString openVpnBinary = "@openvpn@/bin/openvpn";
11 const QStringList ciphersArgs(QLatin1String("--show-ciphers"));
12 const QStringList versionArgs(QLatin1String("--version"));