Replace typedef with using

This commit is contained in:
Jonas Kvinge
2022-10-13 22:39:31 +02:00
parent 61204e8d35
commit b22320c48f
62 changed files with 90 additions and 116 deletions

View File

@@ -36,7 +36,7 @@ struct RadioChannel {
Song ToSong() const;
};
typedef QList<RadioChannel> RadioChannelList;
using RadioChannelList = QList<RadioChannel>;
Q_DECLARE_METATYPE(RadioChannel)

View File

@@ -88,7 +88,7 @@ class RadioModel : public SimpleTreeModel<RadioItem> {
private:
static const int kTreeIconSize;
typedef QPair<RadioItem*, QString> ItemAndCacheKey;
using ItemAndCacheKey = QPair<RadioItem*, QString>;
Application *app_;
AlbumCoverLoaderOptions cover_loader_options_;