From 2dab4f44222e64c193ddcc24a9add1fc1c3287f8 Mon Sep 17 00:00:00 2001 From: namedkitten Date: Sat, 2 May 2020 12:35:56 +0100 Subject: [PATCH] Fix volumeslider missing enums import. --- src/qml/UIComponents/SmoothButton.qml | 2 +- src/qml/UIComponents/VolumeSlider.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qml/UIComponents/SmoothButton.qml b/src/qml/UIComponents/SmoothButton.qml index b7816d7..4d7caec 100644 --- a/src/qml/UIComponents/SmoothButton.qml +++ b/src/qml/UIComponents/SmoothButton.qml @@ -18,7 +18,7 @@ Control { contentItem: Image { id: buttonImage - smooth: true + smooth: false fillMode: Image.PreserveAspectFit sourceSize.height: Math.floor(root.parent.height / (appearance.themeName == "Niconico" ? 1.8 : 1.25)) sourceSize.width: Math.floor(root.parent.height / (appearance.themeName == "Niconico" ? 1.8 : 1.25)) diff --git a/src/qml/UIComponents/VolumeSlider.qml b/src/qml/UIComponents/VolumeSlider.qml index cee9747..d921358 100644 --- a/src/qml/UIComponents/VolumeSlider.qml +++ b/src/qml/UIComponents/VolumeSlider.qml @@ -1,5 +1,6 @@ import QtQuick 2.0 import QtQuick.Controls 2.3 +import player 1.0 Slider { id: volumeBar