summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.ui3
-rw-r--r--src/organizercore.cpp5
-rw-r--r--src/selfupdater.cpp3
-rw-r--r--src/version.rc4
4 files changed, 10 insertions, 5 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index e30a165d..6ce156c8 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -732,6 +732,9 @@ p, li { white-space: pre-wrap; }
<property name="text">
<string>Sort</string>
</property>
+ <property name="visible">
+ <bool>false</bool>
+ </property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/MO/gui/sort</normaloff>:/MO/gui/sort</iconset>
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index d91e2423..142c9eba 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1239,11 +1239,12 @@ bool OrganizerCore::waitForProcessCompletion(HANDLE handle, LPDWORD exitCode)
DWORD res;
// Wait for a an event on the handle, a key press, mouse click or timeout
+ //TODO: Remove MOBase::isOneOf from this query as it was always returning true.
while (
res = ::MsgWaitForMultipleObjects(1, &handle, false, 500,
QS_KEY | QS_MOUSE),
- (MOBase::isOneOf(res, {WAIT_FAILED, WAIT_OBJECT_0}) &&
- ((m_UserInterface == nullptr) || !m_UserInterface->unlockClicked()))) {
+ ((res != WAIT_FAILED) && (res != WAIT_OBJECT_0)) &&
+ ((m_UserInterface == nullptr) || !m_UserInterface->unlockClicked())) {
if (!::GetVFSProcessList(&numProcesses, processes)) {
break;
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp
index 1b6b4684..3e98a5ec 100644
--- a/src/selfupdater.cpp
+++ b/src/selfupdater.cpp
@@ -105,7 +105,8 @@ SelfUpdater::SelfUpdater(NexusInterface *nexusInterface)
m_MOVersion = VersionInfo(version.dwFileVersionMS >> 16,
version.dwFileVersionMS & 0xFFFF,
- version.dwFileVersionLS >> 16);
+ version.dwFileVersionLS >> 16,
+ version.dwFileVersionLS & 0xFFFF);
}
diff --git a/src/version.rc b/src/version.rc
index bc5ba58e..6710bc30 100644
--- a/src/version.rc
+++ b/src/version.rc
@@ -1,7 +1,7 @@
#include "Winver.h"
-#define VER_FILEVERSION 2,0,8
-#define VER_FILEVERSION_STR "2.0.8beta\0"
+#define VER_FILEVERSION 2,0,8,1
+#define VER_FILEVERSION_STR "2.0.8.1beta\0"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION