From ba86b2d8bd80496b7903274cd1d38f64e51f9016 Mon Sep 17 00:00:00 2001
From: NamedKitten <kitteh@namedkitten.pw>
Date: Sun, 14 Oct 2018 19:44:43 +0100
Subject: [PATCH] Minor fixes.

---
 .travis.yml      |  4 ++--
 src/qml/main.qml | 11 ++++++++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index b8c0bb7..78b2c67 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,8 +18,8 @@ install:
   - source /opt/qt*/bin/qt*-env.sh
 
 script:
-  - export PATH="/usr/lib/ccache:$PATH"
-  - bash scripts/build-mpv.sh
+  - #export PATH="/usr/lib/ccache:$PATH"
+  - #bash scripts/build-mpv.sh
   - qmake CONFIG+=release PREFIX=/usr
   - make -j$(nproc)
   - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/
diff --git a/src/qml/main.qml b/src/qml/main.qml
index 48d03f5..9dd19ab 100644
--- a/src/qml/main.qml
+++ b/src/qml/main.qml
@@ -487,6 +487,7 @@ ApplicationWindow {
                 icon.source: "icons/prev.svg"
                 icon.color: "white"
                 display: AbstractButton.IconOnly
+                anchors.top: parent.top; anchors.bottom: parent.bottom;
                 visible: false
                 width: 0
                 onClicked: {
@@ -504,6 +505,7 @@ ApplicationWindow {
                 icon.source: "icons/pause.svg"
                 icon.color: "white"
                 display: AbstractButton.IconOnly
+                anchors.top: parent.top; anchors.bottom: parent.bottom;
                 anchors.left: playlistPrevButton.right
                 onClicked: {
                     updatePlayPause()
@@ -519,6 +521,7 @@ ApplicationWindow {
                 icon.source: "icons/next.svg"
                 icon.color: "white"
                 display: AbstractButton.IconOnly
+                anchors.top: parent.top; anchors.bottom: parent.bottom;
                 anchors.left: playPauseButton.right
                 onClicked: {
                     renderer.command(["playlist-next", "force"])
@@ -534,6 +537,7 @@ ApplicationWindow {
                 icon.source: "icons/volume-up.svg"
                 icon.color: "white"
                 display: AbstractButton.IconOnly
+                anchors.top: parent.top; anchors.bottom: parent.bottom;
                 anchors.left: playlistNextButton.right
                 onClicked: {
                     renderer.command(["cycle", "mute"])
@@ -599,8 +603,7 @@ ApplicationWindow {
                 text: "0:00 / 0:00"
                 color: "white"
                 anchors.left: volumeBar.right
-                anchors.bottom: parent.bottom
-                anchors.top: parent.top
+                anchors.top: parent.top; anchors.bottom: parent.bottom;
                 padding: 5
                 font.family: notoFont.name
                 font.pixelSize: 12
@@ -613,8 +616,8 @@ ApplicationWindow {
                 icon.name: "subtitles"
                 icon.source: "icons/subtitles.svg"
                 icon.color: "white"
-                Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
                 anchors.right: settingsButton.left
+                anchors.top: parent.top; anchors.bottom: parent.bottom;
                 display: AbstractButton.IconOnly
                 onClicked: {
                     tracksMenuUpdate()
@@ -633,6 +636,7 @@ ApplicationWindow {
                 icon.color: "white"
                 Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
                 anchors.right: fullscreenButton.left
+                anchors.top: parent.top; anchors.bottom: parent.bottom;
                 display: AbstractButton.IconOnly
                 onClicked: {
                     loadDialog.open()
@@ -649,6 +653,7 @@ ApplicationWindow {
                 icon.color: "white"
                 Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
                 anchors.right: parent.right
+                anchors.top: parent.top; anchors.bottom: parent.bottom;
                 display: AbstractButton.IconOnly
                 onClicked: {
                     toggleFullscreen()