File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ DesktopEntryScanner::DesktopEntryScanner(DesktopEntryManager* manager): manager(
272
272
}
273
273
274
274
void DesktopEntryScanner::run () {
275
- auto desktopPaths = manager->getDesktopDirectories ();
275
+ auto desktopPaths = manager->monitor -> getDesktopDirectories ();
276
276
auto scanResults = DesktopEntryScanResults ();
277
277
278
278
for (auto & path: std::ranges::reverse_view (desktopPaths)) {
@@ -328,7 +328,7 @@ DesktopEntryManager::DesktopEntryManager() {
328
328
}
329
329
330
330
void DesktopEntryManager::scanDesktopEntries () {
331
- auto desktopPaths = this ->getDesktopDirectories ();
331
+ auto desktopPaths = this ->monitor -> getDesktopDirectories ();
332
332
auto scanResults = DesktopEntryScanResults ();
333
333
334
334
qCDebug (logDesktopEntry) << " Creating desktop entry scanners" ;
@@ -399,10 +399,6 @@ void DesktopEntryManager::handleFileChanges() {
399
399
QThreadPool::globalInstance ()->start (scanner);
400
400
}
401
401
402
- QStringList DesktopEntryManager::getDesktopDirectories () const {
403
- return this ->monitor ->getDesktopDirectories ();
404
- }
405
-
406
402
QString DesktopEntryManager::extractIdFromPath (const QString& path) {
407
403
auto info = QFileInfo (path);
408
404
auto id = info.completeBaseName ();
Original file line number Diff line number Diff line change @@ -186,7 +186,6 @@ class DesktopEntryManager: public QObject {
186
186
static DesktopEntryManager* instance ();
187
187
188
188
QString extractIdFromPath (const QString& path);
189
- QStringList getDesktopDirectories () const ;
190
189
191
190
signals:
192
191
void applicationsChanged ();
You can’t perform that action at this time.
0 commit comments