[network/kaidan] src/qml: RosterPage: Remove redundant mobile device check
Melvin Keskin <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 70d2804003ded39dd27dd1a8e3493e5c6e02571f by Melvin Keskin.
Committed on 21/07/2026 at 21:31.
Pushed by melvo into branch 'master'.
RosterPage: Remove redundant mobile device check
M +1 -1 src/qml/RosterPage.qml
https://invent.kde.org/network/kaidan/-/commit/70d2804003ded39dd27dd1a8e3493e5c6e02571f
diff --git a/src/qml/RosterPage.qml b/src/qml/RosterPage.qml
index a54c77d6e..819784080 100644
--- a/src/qml/RosterPage.qml
+++ b/src/qml/RosterPage.qml
@@ -113,7 +113,7 @@ SearchBarPage {
// The workaround is needed because rosterListView's focus is automatically forced
// after creation even when forcing searchFields's focus within its
// Component.onCompleted.
- if (!Kirigami.Settings.isMobile && activeFocus) {
+ if (activeFocus) {
root.forceActiveFocus()
}
}