**Artist portrait**
- Fix CDN URL: images.portrait.{hash,format} →
https://static.qobuz.com/images/artists/covers/large/{hash}.{format}
**Section alignment**
- Qt::ToolButtonTextOnly on all section toggles so text is truly left-aligned
**Auth 401 race condition**
- qobuz_backend_set_token now uses blocking_lock() instead of spawning an
async task, guaranteeing the token is set before any subsequent API call
**Pagination (infinite scroll)**
- Release sections load 50 at a time (was 500)
- ArtistSection tracks has_more + loaded count; scrolling to the bottom
emits loadMoreRequested → ArtistView calls getArtistReleases(offset=N)
- AlbumListView gains addAlbums() for append; setReleases routes to
setAlbums (offset=0) or appendAlbums (offset>0)
**Back/Forward navigation**
- MainToolBar exposes Back/Forward QActions (go-previous/go-next icons)
- MainWindow keeps a NavPage vector + index; pushNav() on every album/artist
navigation; goBack/goForward re-navigate without pushing history
**Context menu on now-playing label**
- Right-click on track label in toolbar → "Go to Album" / "Go to Artist"
- MainToolBar stores current track; emits albumRequested/artistRequested
signals wired to MainWindow's existing handlers
**Artist favourites button**
- ♡ Favourite / ♥ Favourited toggle in artist header
- Calls new addFavArtist / removeFavArtist (Rust + Qt backend wiring)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
96 lines
3.4 KiB
CMake
96 lines
3.4 KiB
CMake
# Install script for directory: /home/joren/dev/qobuz-qt
|
|
|
|
# Set the install prefix
|
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
|
endif()
|
|
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
|
|
|
# Set the install configuration name.
|
|
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
|
if(BUILD_TYPE)
|
|
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
|
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
|
else()
|
|
set(CMAKE_INSTALL_CONFIG_NAME "")
|
|
endif()
|
|
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
|
endif()
|
|
|
|
# Set the component getting installed.
|
|
if(NOT CMAKE_INSTALL_COMPONENT)
|
|
if(COMPONENT)
|
|
message(STATUS "Install component: \"${COMPONENT}\"")
|
|
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
|
else()
|
|
set(CMAKE_INSTALL_COMPONENT)
|
|
endif()
|
|
endif()
|
|
|
|
# Install shared libraries without execute permission?
|
|
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
|
set(CMAKE_INSTALL_SO_NO_EXE "0")
|
|
endif()
|
|
|
|
# Is this installation the result of a crosscompile?
|
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
endif()
|
|
|
|
# Set path to fallback-tool for dependency-resolution.
|
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
set(CMAKE_OBJDUMP "/usr/bin/objdump")
|
|
endif()
|
|
|
|
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
|
# Include the install script for the subdirectory.
|
|
include("/home/joren/dev/qobuz-qt/build-viz/src/cmake_install.cmake")
|
|
endif()
|
|
|
|
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps" TYPE FILE FILES "/home/joren/dev/qobuz-qt/res/logo/qobuz-qt.svg")
|
|
endif()
|
|
|
|
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications" TYPE FILE FILES "/home/joren/dev/qobuz-qt/res/app/qobuz-qt.desktop")
|
|
endif()
|
|
|
|
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/qobuz-qt" AND
|
|
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/qobuz-qt")
|
|
file(RPATH_CHECK
|
|
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/qobuz-qt"
|
|
RPATH "")
|
|
endif()
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/joren/dev/qobuz-qt/build-viz/qobuz-qt")
|
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/qobuz-qt" AND
|
|
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/qobuz-qt")
|
|
if(CMAKE_INSTALL_DO_STRIP)
|
|
execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/qobuz-qt")
|
|
endif()
|
|
endif()
|
|
endif()
|
|
|
|
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
if(CMAKE_INSTALL_LOCAL_ONLY)
|
|
file(WRITE "/home/joren/dev/qobuz-qt/build-viz/install_local_manifest.txt"
|
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
endif()
|
|
if(CMAKE_INSTALL_COMPONENT)
|
|
if(CMAKE_INSTALL_COMPONENT MATCHES "^[a-zA-Z0-9_.+-]+$")
|
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
|
else()
|
|
string(MD5 CMAKE_INST_COMP_HASH "${CMAKE_INSTALL_COMPONENT}")
|
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INST_COMP_HASH}.txt")
|
|
unset(CMAKE_INST_COMP_HASH)
|
|
endif()
|
|
else()
|
|
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
|
endif()
|
|
|
|
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
|
file(WRITE "/home/joren/dev/qobuz-qt/build-viz/${CMAKE_INSTALL_MANIFEST}"
|
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
|
endif()
|