Merge RestartManager into marketplace

CURA-8588
This commit is contained in:
Jaime van Kessel 2022-01-03 11:12:52 +01:00
parent 6af2677c52
commit 6a39862349
6 changed files with 19 additions and 45 deletions

View file

@ -4,7 +4,6 @@ import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import Marketplace 1.0 as Marketplace
import UM 1.4 as UM
Packages

View file

@ -8,13 +8,11 @@ import QtQuick.Window 2.2
import UM 1.2 as UM
import Cura 1.6 as Cura
import Marketplace 1.0 as Marketplace
Window
{
id: marketplaceDialog
property variant catalog: UM.I18nCatalog { name: "cura" }
property variant restartManager: Marketplace.RestartManager { }
signal searchStringChanged(string new_search)
@ -235,7 +233,7 @@ Window
{
height: quitButton.height + 2 * UM.Theme.getSize("default_margin").width
color: UM.Theme.getColor("primary")
visible: restartManager.showRestartNotification
visible: manager.showRestartNotification
anchors
{
left: parent.left

View file

@ -1,7 +1,6 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import Marketplace 1.0 as Marketplace
import UM 1.4 as UM
Packages

View file

@ -1,7 +1,6 @@
// Copyright (c) 2021 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher.
import Marketplace 1.0 as Marketplace
import UM 1.4 as UM
Packages