clang 7.3 fix (ugh), and version bump.

This commit is contained in:
casey langen 2017-07-18 21:47:20 -07:00
parent adecb877dc
commit d433ac2f10
4 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,12 @@
0.21.2
* "add tracks", "add category", and "select playlist" context menus now remember
the last selected item for 60 seconds. this makes adding multiple things to
the same playlist (or play queue) much easier.
* fixed startup crash on older versions of macos
--------------------------------------------------------------------------------
0.21.1
* arrow keys can now select items in the shortcuts window while focused.

View File

@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.0)
project(musikbox)
set (musikbox_VERSION_MAJOR 0)
set (musikbox_VERSION_MINOR 20)
set (musikbox_VERSION_PATCH 1)
set (musikbox_VERSION_PATCH 2)
set (musikbox_VERSION "${musikbox_VERSION_MAJOR}.${musikbox_VERSION_MINOR}.${musikbox_VERSION_PATCH}")
include(CMakeToolsHelpers OPTIONAL)

View File

@ -315,8 +315,8 @@ bool MainLayout::KeyPress(const std::string& key) {
void MainLayout::Start() {
#if (__clang_major__ == 7 && __clang_minor__ == 3)
std::enable_shared_from_this<LayoutBase>* receiver =
(std::enable_shared_from_this<LayoutBase>*) this;
std::enable_shared_from_this<MainLayout>* receiver =
(std::enable_shared_from_this<MainLayout>*) this;
#else
auto receiver = this;
#endif

View File

@ -2,5 +2,5 @@
#define VERSION_MAJOR 0
#define VERSION_MINOR 20
#define VERSION_PATCH 1
#define VERSION "0.20.1"
#define VERSION_PATCH 2
#define VERSION "0.20.2"