Commit 0e730067 authored by Camilo higuita's avatar Camilo higuita

push latest changes

parent 784bd20a
......@@ -344,19 +344,6 @@ Maui.ApplicationWindow
}
}
Component
{
id: notificationDialogComponent
Maui.Dialog
{
defaultButtons: false
maxWidth: unit * 300
colorScheme.textColor: warningColor
colorScheme.backgroundColor: altColor
}
}
Loader
{
id: dialogLoader
......
......@@ -102,10 +102,7 @@ PixGrid
account: currentAccount
onWarning:
{
dialogLoader.sourceComponent = notificationDialogComponent
dialog.title = qsTr("An error happened")
dialog.message = error
dialog.open()
notify("dialog-information", "An error happened", error)
}
}
......
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