Skip to content

Commit

Permalink
Fix (harmless) Keys warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Feb 9, 2025
1 parent 60bffa5 commit 230ad70
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
7 changes: 0 additions & 7 deletions src/qml/BookmarkProperties.qml
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,4 @@ Popup {
bookmarkProperties.close();
}
}

Keys.onReleased: event => {
if (event.key === Qt.Key_Back || event.key === Qt.Key_Escape) {
event.accepted = true;
visible = false;
}
}
}
7 changes: 0 additions & 7 deletions src/qml/LocatorSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,4 @@ Popup {
}
}
}

Keys.onReleased: event => {
if (event.key === Qt.Key_Back || event.key === Qt.Key_Escape) {
event.accepted = true;
visible = false;
}
}
}
7 changes: 0 additions & 7 deletions src/qml/PluginManagerSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -418,13 +418,6 @@ Popup {
}
}

Keys.onReleased: event => {
if (event.key === Qt.Key_Back || event.key === Qt.Key_Escape) {
event.accepted = true;
visible = false;
}
}

Component.onCompleted: {
refreshAppPluginsList();
}
Expand Down

0 comments on commit 230ad70

Please sign in to comment.