1
0
Fork 0

Minor fixes.

This commit is contained in:
NamedKitten 2018-10-14 19:44:43 +01:00
parent cb0c605314
commit ba86b2d8bd
2 changed files with 10 additions and 5 deletions

View file

@ -18,8 +18,8 @@ install:
- source /opt/qt*/bin/qt*-env.sh - source /opt/qt*/bin/qt*-env.sh
script: script:
- export PATH="/usr/lib/ccache:$PATH" - #export PATH="/usr/lib/ccache:$PATH"
- bash scripts/build-mpv.sh - #bash scripts/build-mpv.sh
- qmake CONFIG+=release PREFIX=/usr - qmake CONFIG+=release PREFIX=/usr
- make -j$(nproc) - make -j$(nproc)
- make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/ - make INSTALL_ROOT=appdir -j$(nproc) install ; find appdir/

View file

@ -487,6 +487,7 @@ ApplicationWindow {
icon.source: "icons/prev.svg" icon.source: "icons/prev.svg"
icon.color: "white" icon.color: "white"
display: AbstractButton.IconOnly display: AbstractButton.IconOnly
anchors.top: parent.top; anchors.bottom: parent.bottom;
visible: false visible: false
width: 0 width: 0
onClicked: { onClicked: {
@ -504,6 +505,7 @@ ApplicationWindow {
icon.source: "icons/pause.svg" icon.source: "icons/pause.svg"
icon.color: "white" icon.color: "white"
display: AbstractButton.IconOnly display: AbstractButton.IconOnly
anchors.top: parent.top; anchors.bottom: parent.bottom;
anchors.left: playlistPrevButton.right anchors.left: playlistPrevButton.right
onClicked: { onClicked: {
updatePlayPause() updatePlayPause()
@ -519,6 +521,7 @@ ApplicationWindow {
icon.source: "icons/next.svg" icon.source: "icons/next.svg"
icon.color: "white" icon.color: "white"
display: AbstractButton.IconOnly display: AbstractButton.IconOnly
anchors.top: parent.top; anchors.bottom: parent.bottom;
anchors.left: playPauseButton.right anchors.left: playPauseButton.right
onClicked: { onClicked: {
renderer.command(["playlist-next", "force"]) renderer.command(["playlist-next", "force"])
@ -534,6 +537,7 @@ ApplicationWindow {
icon.source: "icons/volume-up.svg" icon.source: "icons/volume-up.svg"
icon.color: "white" icon.color: "white"
display: AbstractButton.IconOnly display: AbstractButton.IconOnly
anchors.top: parent.top; anchors.bottom: parent.bottom;
anchors.left: playlistNextButton.right anchors.left: playlistNextButton.right
onClicked: { onClicked: {
renderer.command(["cycle", "mute"]) renderer.command(["cycle", "mute"])
@ -599,8 +603,7 @@ ApplicationWindow {
text: "0:00 / 0:00" text: "0:00 / 0:00"
color: "white" color: "white"
anchors.left: volumeBar.right anchors.left: volumeBar.right
anchors.bottom: parent.bottom anchors.top: parent.top; anchors.bottom: parent.bottom;
anchors.top: parent.top
padding: 5 padding: 5
font.family: notoFont.name font.family: notoFont.name
font.pixelSize: 12 font.pixelSize: 12
@ -613,8 +616,8 @@ ApplicationWindow {
icon.name: "subtitles" icon.name: "subtitles"
icon.source: "icons/subtitles.svg" icon.source: "icons/subtitles.svg"
icon.color: "white" icon.color: "white"
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
anchors.right: settingsButton.left anchors.right: settingsButton.left
anchors.top: parent.top; anchors.bottom: parent.bottom;
display: AbstractButton.IconOnly display: AbstractButton.IconOnly
onClicked: { onClicked: {
tracksMenuUpdate() tracksMenuUpdate()
@ -633,6 +636,7 @@ ApplicationWindow {
icon.color: "white" icon.color: "white"
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
anchors.right: fullscreenButton.left anchors.right: fullscreenButton.left
anchors.top: parent.top; anchors.bottom: parent.bottom;
display: AbstractButton.IconOnly display: AbstractButton.IconOnly
onClicked: { onClicked: {
loadDialog.open() loadDialog.open()
@ -649,6 +653,7 @@ ApplicationWindow {
icon.color: "white" icon.color: "white"
Layout.alignment: Qt.AlignVCenter | Qt.AlignRight Layout.alignment: Qt.AlignVCenter | Qt.AlignRight
anchors.right: parent.right anchors.right: parent.right
anchors.top: parent.top; anchors.bottom: parent.bottom;
display: AbstractButton.IconOnly display: AbstractButton.IconOnly
onClicked: { onClicked: {
toggleFullscreen() toggleFullscreen()