[network/ruqola] src/widgets/misc: Store searchTimer when we found channel

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 4c1b77d8c3c9eb5cfae546746e0c84be169bd5b8 by Laurent Montel.
Committed on 13/08/2026 at 16:42.
Pushed by mlaurent into branch 'master'.

Store searchTimer when we found channel

M  +2    -1    src/widgets/misc/joinedchannelcompletionlineeditbase.cpp

https://invent.kde.org/network/ruqola/-/commit/4c1b77d8c3c9eb5cfae546746e0c84be169bd5b8

diff --git a/src/widgets/misc/joinedchannelcompletionlineeditbase.cpp b/src/widgets/misc/joinedchannelcompletionlineeditbase.cpp
index e9472b6fbe..7de082bcef 100644
--- a/src/widgets/misc/joinedchannelcompletionlineeditbase.cpp
+++ b/src/widgets/misc/joinedchannelcompletionlineeditbase.cpp
@@ -101,8 +101,9 @@ void JoinedChannelCompletionLineEditBase::slotComplete(const QModelIndex &index)
         .name = completerName,
         .channelId = roomId,
     };
+    mSearchTimer->stop();
     mCompletionListView->hide();
-    Q_EMIT joinedChannelFound(std::move(info));
+    Q_EMIT joinedChannelFound(info);
 }
 
 #include "moc_joinedchannelcompletionlineeditbase.cpp"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.