projects
/
platform
/
upstream
/
qtquickcontrols-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201a839
)
Floater - added error handling
author
Tomasz Olszak
<olszak.tomasz@gmail.com>
Mon, 24 Jun 2013 19:53:17 +0000
(19:53 +0000)
committer
Jarosław Staniek
<staniek@kde.org>
Mon, 24 Jun 2013 22:48:58 +0000
(
00:48
+0200)
Change-Id: I693fd292bdb71afaa387411c1c2bf9cfef389a53
Reviewed-by: Jarosław Staniek <staniek@kde.org>
src/styles/Floater.qml
patch
|
blob
|
history
diff --git
a/src/styles/Floater.qml
b/src/styles/Floater.qml
index
326bdd2
..
fd103d9
100644
(file)
--- a/
src/styles/Floater.qml
+++ b/
src/styles/Floater.qml
@@
-2,6
+2,7
@@
import QtQuick 2.0
Item {
id: floaterBehavior
+ objectName: "floaterBehavior"
visible: false
property Component content
width: contentLoader ? contentLoader.item.implicitWidth:0
@@
-20,6
+21,7
@@
Item {
id: contentLoader
sourceComponent: content
anchors.fill: parent
+ onStatusChanged: if (status === Loader.Error) console.error("Failed to load content for", floaterBehavior)
}
states: State {