summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRussell Sim <russell.sim@gmail.com>2020-06-24 21:37:52 +0200
committerRussell Sim <russell.sim@gmail.com>2020-06-24 21:37:52 +0200
commit3f68d74db52c250de5bb31dad1c31ffb5c27e2a4 (patch)
tree5235b1bc03bc41224d4675d8a40b4d685e8847b1
parent2493b7256c099e39bdf0d047cb288f3f39f7fa10 (diff)
Only set the wineprefix if not using proton
Seems this else was accidentally deleted in my last PR. Without it the wineprefix keeps getting set to ~/.wine
-rw-r--r--proto-wine/ftnoir_protocol_wine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp
index 6652eb48..af53ff1f 100644
--- a/proto-wine/ftnoir_protocol_wine.cpp
+++ b/proto-wine/ftnoir_protocol_wine.cpp
@@ -80,7 +80,7 @@ module_status wine::initialize()
if (!success)
return error(error_string);
}
-
+ else
{
QString wineprefix = "~/.wine";
if (!s.wineprefix->isEmpty())