Proper fix for RoundShadow reference error:

- RoundShadow has to go into private/ subdirectory
- Copy ButtonShadow from desktop components as well, it's needed at
  runtime
This commit is contained in:
Sebastian Kügler 2012-01-11 01:36:30 +01:00
parent cbbcb4762f
commit b92ea05d24
3 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@ install(FILES qml/ToolBar.qml DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/
#Now install the private stuff!
install(FILES qml/private/ButtonShadow.qml DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components/private)
install(FILES qml/private/DualStateButton.qml DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components/private)
install(FILES qml/private/IconLoader.qml DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components/private)
install(FILES qml/private/PageStack.js DESTINATION ${PLUGIN_INSTALL_DIR}/platformimports/touch/org/kde/plasma/components/private)

View File

@ -144,7 +144,7 @@ Item {
property int right: 8
property int bottom: 8
}
RoundShadow {
Private.RoundShadow {
anchors.fill: parent
state: (internal.userPressed || checked) ? "hidden" : "shadow"
}