spotify-qt: update to 3.5.

This commit is contained in:
Andrew Benson 2021-03-12 14:55:51 -07:00
parent 8a9f4a3074
commit 0b4b61faf7
2 changed files with 2 additions and 28 deletions

View File

@ -1,26 +0,0 @@
https://github.com/kraxarn/spotify-qt/commit/fe916f8976cca3983030e24d02d65e62893ad88d.patch
From fe916f8976cca3983030e24d02d65e62893ad88d Mon Sep 17 00:00:00 2001
From: kraxarn <me@kraxarn.com>
Date: Sun, 7 Feb 2021 22:02:21 +0100
Subject: [PATCH] Fix crash when toggling dark theme
---
src/settingspage/interfacepage.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git src/settingspage/interfacepage.cpp src/settingspage/interfacepage.cpp
index d809730..be16455 100644
--- src/settingspage/interfacepage.cpp
+++ src/settingspage/interfacepage.cpp
@@ -215,7 +215,9 @@ void InterfacePage::darkThemeToggle(bool checked)
if (checked)
{
itfStyle->setCurrentText("Fusion");
- itfIcFallback->setChecked(true);
+
+ if (itfIcFallback != nullptr)
+ itfIcFallback->setChecked(true);
}
else
{

View File

@ -1,6 +1,6 @@
# Template file for 'spotify-qt'
pkgname=spotify-qt
version=3.4
version=3.5
revision=1
build_style=cmake
hostmakedepends="pkg-config qt5-devel"
@ -10,4 +10,4 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/kraxarn/spotify-qt"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=ceae5dec3aa31a3fbf6754a2c481dfc1b32b9f5e131007ec176f64a87a6e516e
checksum=b8c4827a6c3e012b897f0a87ef2cc6e04b2d97f14bc505d19ebd439464094b4e