Replace typedef with using
This commit is contained in:
@@ -36,7 +36,7 @@ struct RadioChannel {
|
||||
|
||||
Song ToSong() const;
|
||||
};
|
||||
typedef QList<RadioChannel> RadioChannelList;
|
||||
using RadioChannelList = QList<RadioChannel>;
|
||||
|
||||
Q_DECLARE_METATYPE(RadioChannel)
|
||||
|
||||
|
||||
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user