Skip to content

Commit

Permalink
Fix the renderType properties for various components
Browse files Browse the repository at this point in the history
To use isMobile one need to import the QtQuickControls as well in
addition to QtQuickControls.Private

This fixes the warning flood at runtime

CCMAIL: faure@kde.org

I think p-f 5.30.0 tars need to be re-done with this.
  • Loading branch information
bhush9 committed Jan 9, 2017
1 parent dcd81c6 commit 780be6f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/applets/testtheme/contents/ui/FontGizmo.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import QtQuick 2.1

import QtQuick.Controls 1.0
import QtQuick.Controls.Private 1.0 as QtQuickControlsPrivate

import org.kde.plasma.core 2.0 as PlasmaCore
Expand Down
1 change: 1 addition & 0 deletions src/declarativeimports/plasmacomponents/qml/Label.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Controls.Private 1.0 as QtQuickControlsPrivate
import org.kde.plasma.core 2.0 as PlasmaCore

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Controls.Private 1.0 as QtQuickControlsPrivate
import org.kde.plasma.core 2.0 as PlasmaCore

Expand Down
1 change: 1 addition & 0 deletions src/declarativeimports/plasmastyle/SpinBoxStyle.qml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

import QtQuick 2.0
import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle
import QtQuick.Controls.Private 1.0 as QtQuickControlsPrivate
import QtQuick.Layouts 1.1
Expand Down
1 change: 1 addition & 0 deletions src/declarativeimports/plasmastyle/TextFieldStyle.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

import QtQuick 2.0
import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.1 as QtQuickControlStyle
import QtQuick.Controls.Private 1.0 as QtQuickControlsPrivate

Expand Down

0 comments on commit 780be6f

Please sign in to comment.