1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-11-22 09:15:18 +00:00

Don't use the new Silica Background

Should improve backwards compatibility with older versions.
This commit is contained in:
Chris Josten 2021-02-17 02:31:26 +01:00
parent e4e35c03d4
commit b345a1c650

View file

@ -18,7 +18,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
import QtQuick 2.6 import QtQuick 2.6
import Sailfish.Silica 1.0 import Sailfish.Silica 1.0
import Sailfish.Silica.Background 1.0
import nl.netsoj.chris.Jellyfin 1.0 import nl.netsoj.chris.Jellyfin 1.0
@ -54,23 +53,7 @@ Page {
} }
} }
allowedOrientations: Orientation.All allowedOrientations: Orientation.All
background: _chosenBackdropImage ? backdropBackground : null
Component {
id: backdropBackground
ThemeBackground {
sourceItem: backdrop
backgroundMaterial: "blur"
}
}
ThemeWallpaper {
id: backdrop
source: _chosenBackdropImage
visible: false
}
PageBusyIndicator { PageBusyIndicator {
running: pageRoot._loading running: pageRoot._loading