parent
6b14d03fef
commit
cd10dbd8a9
1 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ StyledRect {
|
||||||
if (Math.abs(root.x) < Config.notifs.sizes.width * Config.notifs.clearThreshold)
|
if (Math.abs(root.x) < Config.notifs.sizes.width * Config.notifs.clearThreshold)
|
||||||
root.x = 0;
|
root.x = 0;
|
||||||
else
|
else
|
||||||
root.modelData.popup = false;
|
root.modelData.notification.dismiss(); // TODO: change back to popup when notif dock impled
|
||||||
}
|
}
|
||||||
onPositionChanged: event => {
|
onPositionChanged: event => {
|
||||||
if (pressed) {
|
if (pressed) {
|
||||||
|
|
@ -424,7 +424,7 @@ StyledRect {
|
||||||
|
|
||||||
onLinkActivated: link => {
|
onLinkActivated: link => {
|
||||||
Qt.openUrlExternally(link);
|
Qt.openUrlExternally(link);
|
||||||
root.modelData.popup = false;
|
root.modelData.notification.dismiss(); // TODO: change back to popup when notif dock impled
|
||||||
}
|
}
|
||||||
|
|
||||||
opacity: root.expanded ? 1 : 0
|
opacity: root.expanded ? 1 : 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue