diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2021-12-06 03:51:08 -0600 |
|---|---|---|
| committer | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2022-04-19 15:17:23 +0200 |
| commit | c4b2be45d29a247422e60bb8fdf1664c10384eee (patch) | |
| tree | 729640dc3e5105fe6eea04a5a03451176fc91a7e /src/iconfetcher.h | |
| parent | ec01532ecbd2d7c99d1b3bdd8cf261795df59327 (diff) | |
First pass for Qt6 compatibility
Diffstat (limited to 'src/iconfetcher.h')
| -rw-r--r-- | src/iconfetcher.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/iconfetcher.h b/src/iconfetcher.h index 030bfb79..78857d05 100644 --- a/src/iconfetcher.h +++ b/src/iconfetcher.h @@ -1,8 +1,9 @@ #ifndef MODORGANIZER_ICONFETCHER_INCLUDED #define MODORGANIZER_ICONFETCHER_INCLUDED - -#include <QFileIconProvider> +#include <set> #include <mutex> +#include <QFileIconProvider> +#include <QStringView> class IconFetcher { @@ -70,7 +71,7 @@ private: void queue(Cache& cache, QString path) const; QVariant fileIcon(const QString& path) const; - QVariant extensionIcon(const QStringRef& ext) const; + QVariant extensionIcon(const QStringView& ext) const; }; #endif // MODORGANIZER_ICONFETCHER_INCLUDED |
