From 6e82d0a4eb5f9bb1d98d19116249d5d558a7cfb8 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Mon, 12 Jan 2026 23:00:45 +0500 Subject: [PATCH] fix(IconList): make sure we always set new path Signed-off-by: Octol1ttle (cherry picked from commit 6cbedbe1848c3290a1ee76af9f113e3900ac7c7d) --- launcher/icons/IconList.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/launcher/icons/IconList.cpp b/launcher/icons/IconList.cpp index 6c26ddf57..6b028f52a 100644 --- a/launcher/icons/IconList.cpp +++ b/launcher/icons/IconList.cpp @@ -147,8 +147,7 @@ void IconList::directoryChanged(const QString& path) { QDir newDir(path); if (m_dir.absolutePath() != newDir.absolutePath()) { - if (!path.startsWith(m_dir.absolutePath())) - m_dir.setPath(path); + m_dir.setPath(path); m_dir.refresh(); if (m_isWatching) stopWatching(); @@ -488,4 +487,4 @@ QString IconList::iconDirectory(const QString& key) const } } return getDirectory(); -} \ No newline at end of file +}