Skip to content

Commit

Permalink
#4483: Revert the fix to resolve #4482 for the moment being
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Feb 7, 2017
1 parent 8d06ab5 commit 6ce44c0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,4 +1,4 @@
AC_INIT([darkradiant], [2.2.0])
AC_INIT([darkradiant], [2.2.1])
AM_INIT_AUTOMAKE([subdir-objects])
AM_SILENT_RULES([yes])

Expand Down
2 changes: 1 addition & 1 deletion include/version.h
Expand Up @@ -2,7 +2,7 @@
#include <config.h>
#define RADIANT_VERSION PACKAGE_VERSION
#else
#define RADIANT_VERSION "2.2.0"
#define RADIANT_VERSION "2.2.1"
#endif

#define RADIANT_APPNAME "DarkRadiant"
Expand Down
2 changes: 2 additions & 0 deletions plugins/uimanager/menu/MenuManager.cpp
Expand Up @@ -187,13 +187,15 @@ void MenuManager::handleElementAdded(const MenuElementPtr& element)
parentMenu->setNeedsRefresh(true);
}

#if 0
// When inserting a new menu in a menubar, make sure it is constructed
if (element->getParent() &&
std::dynamic_pointer_cast<MenuBar>(element->getParent()) &&
std::static_pointer_cast<MenuBar>(element->getParent())->getMenuBar() != nullptr)
{
std::static_pointer_cast<MenuBar>(element->getParent())->ensureMenusConstructed();
}
#endif
}

void MenuManager::handleElementRemoved(const MenuElementPtr& element)
Expand Down
6 changes: 3 additions & 3 deletions tools/innosetup/darkradiant.iss
Expand Up @@ -3,15 +3,15 @@

[Setup]
AppName=DarkRadiant
AppVerName=DarkRadiant 2.2.0 x86
AppVerName=DarkRadiant 2.2.1 x86
AppPublisher=The Dark Mod
AppPublisherURL=http://www.thedarkmod.com
AppSupportURL=http://www.thedarkmod.com
AppUpdatesURL=http://www.thedarkmod.com
DefaultDirName={pf}\DarkRadiant
DefaultGroupName=DarkRadiant 2.2.0 x86
DefaultGroupName=DarkRadiant 2.2.1 x86
OutputDir=.
OutputBaseFilename=darkradiant-2.2.0-x86
OutputBaseFilename=darkradiant-2.2.1-x86
Compression=lzma
SolidCompression=yes
;ArchitecturesAllowed=x64
Expand Down
6 changes: 3 additions & 3 deletions tools/innosetup/darkradiant.x64.iss
Expand Up @@ -3,15 +3,15 @@

[Setup]
AppName=DarkRadiant
AppVerName=DarkRadiant 2.2.0 x64
AppVerName=DarkRadiant 2.2.1 x64
AppPublisher=The Dark Mod
AppPublisherURL=http://www.thedarkmod.com
AppSupportURL=http://www.thedarkmod.com
AppUpdatesURL=http://www.thedarkmod.com
DefaultDirName={pf}\DarkRadiant
DefaultGroupName=DarkRadiant 2.2.0 x64
DefaultGroupName=DarkRadiant 2.2.1 x64
OutputDir=.
OutputBaseFilename=darkradiant-2.2.0-x64
OutputBaseFilename=darkradiant-2.2.1-x64
Compression=lzma
SolidCompression=yes
ArchitecturesAllowed=x64
Expand Down

0 comments on commit 6ce44c0

Please sign in to comment.