Commit c4c2aeb7 authored by David Redondo's avatar David Redondo 🏎 Committed by Nate Graham

Use QuickControls 2 StackView

The replace method of the Controls 1 stack view is not docuemnted and apparently
does not return the item.
BUG:429290
FIXED-IN:5.20.4

(cherry picked from commit 1da23c52)
parent 45a2029a
......@@ -22,7 +22,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************/
import QtQuick 2.0
import QtQuick.Controls 1.0 as QtControls
import QtQuick.Controls 2.15 as QtControls
import QtQuick.Layouts 1.1
QtControls.StackView {
id: main
......@@ -63,7 +63,7 @@ QtControls.StackView {
}
else {
replace(empty)
}
}
}
Component {
id: empty
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment