mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Remove unused styles
This commit is contained in:
parent
309061ce31
commit
14b460a626
3 changed files with 3 additions and 122 deletions
|
@ -2,9 +2,7 @@
|
|||
// Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.2
|
||||
import QtQuick.Controls 1.1
|
||||
import QtQuick.Controls.Styles 1.1
|
||||
import QtQuick.Layouts 1.1
|
||||
import QtQuick.Controls 2.3
|
||||
|
||||
import UM 1.2 as UM
|
||||
import Cura 1.0 as Cura
|
||||
|
@ -68,7 +66,6 @@ Item
|
|||
|
||||
toolItem: UM.RecolorImage
|
||||
{
|
||||
opacity: parent.enabled ? 1.0 : 0.2
|
||||
source: (UM.Theme.getIcon(model.icon) != "") ? UM.Theme.getIcon(model.icon) : "file:///" + model.location + "/" + model.icon
|
||||
color: UM.Theme.getColor("toolbar_button_text")
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ Button
|
|||
}
|
||||
else if (base.checked)
|
||||
{
|
||||
return "red" //UM.Theme.getColor("toolbar_button_active")
|
||||
return UM.Theme.getColor("toolbar_button_active")
|
||||
}
|
||||
else if(base.hovered)
|
||||
{
|
||||
|
@ -81,6 +81,7 @@ Button
|
|||
|
||||
contentItem: Item
|
||||
{
|
||||
opacity: parent.enabled ? 1.0 : 0.2
|
||||
Loader
|
||||
{
|
||||
id: contentItemLoader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue