main
朱子楚 2023-05-17 22:26:16 +08:00
parent bd422f96cf
commit 8b531e4637
2 changed files with 4 additions and 2 deletions

View File

@ -2,10 +2,12 @@
import QtQuick.Window import QtQuick.Window
import QtQuick.Controls import QtQuick.Controls
import QtQuick.Layouts import QtQuick.Layouts
import QtMultimedia
import FluentUI import FluentUI
Window { Window {
id:app id:app
MediaPlayer{}
Component.onCompleted: { Component.onCompleted: {
FluApp.init(app) FluApp.init(app)
FluTheme.darkMode = FluDarkMode.System FluTheme.darkMode = FluDarkMode.System

View File

@ -27,9 +27,9 @@ Rectangle {
audioOutput: AudioOutput{ audioOutput: AudioOutput{
id:audio_output id:audio_output
} }
onErrorChanged: onErrorStringChanged:
(error)=> { (error)=> {
console.debug(error) console.debug(errorString)
} }
onPositionChanged: { onPositionChanged: {
if(autoSeek){ if(autoSeek){