commit e51f841744e68bf0f38d7bc1d6b009eb3b3e4ccf
parent 4c69eb5026e73185b8bf127a9b53b3def348e995
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 2 Feb 2016 17:37:45 -0800
fix 34ade9bce83e7332d8fc02a0b3ea3d96d12ba529 for windows (wrong type used)
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/manager.cpp b/src/manager.cpp
@@ -197,7 +197,7 @@ void Manager::about()
if(remote.isNull())
return;
- // show the enable state changes as if they were already applied
+ // show the pending enable state changes as if they were already applied
remote.setEnabled(isRemoteEnabled(remote));
const RemoteIndex *index;
@@ -225,8 +225,7 @@ void Manager::about()
unique_ptr<const RemoteIndex> ptr(index);
- const int result = Dialog::Show<About>(instance(), handle(), &remote, index);
- switch(result) {
+ switch(Dialog::Show<About>(instance(), handle(), &remote, index)) {
case About::EnableResult:
setRemoteEnabled(true);
break;