Comment 7 for bug 1175394

Revision history for this message
Florian Boucault (fboucault) wrote : Re: Media player won't launch

Workaround for the media player that does not cause regressions:

=== modified file src/qml/player/TimeLine.qml
--- src/qml/player/TimeLine.qml 2013-04-15 12:58:52 +0000
+++ src/qml/player/TimeLine.qml 2013-05-08 18:54:03 +0000
@@ -20,6 +20,7 @@
 import QtQuick 2.0
 import Ubuntu.Components 0.1
 import "../sdk"
+import "../theme"

 Item {
     id: _timeLine
@@ -40,13 +41,10 @@
     // "property alias value: _slider.value" does not work
     Binding { target: _slider; property: "value"; value: _timeLine.value }

- Component.onCompleted: {
- var result = Theme.loadTheme(Qt.resolvedUrl("../theme/theme.qmltheme"))
- }
-
     Slider {
         id: _slider

+ ItemStyle.delegate: VideoSlider {property Item item: _slider}
         objectName: "TimeLine.Slider"
         anchors {
             top: parent.top