Skip to content
Commit 6de4c156 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Remove unused QStrings

parent 3fa33a79
  • Developer

    sourceName was not actually unused; this makes compilation fail with certain combinations of flatpak and appstream:

    /home/nate/kde/src/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp: In member function ‘void FlatpakBackend::createPool(QSharedPointer<FlatpakSource>)’:
    /home/nate/kde/src/discover/libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp:1029:101: error: ‘sourceName’ was not declared in this scope; did you mean ‘sources’?
     1029 |     const QString subdir = flatpak_installation_get_id(source->installation()) + QLatin1Char('/') + sourceName;
          |                                                                                                     ^~~~~~~~~~
          |                                                                                                     sources
    

    I guess you didn't hit this because you have newer AppStream stuff.

    Fixed in af1e43eb

0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment