Replace 0 with nullptr
This commit is contained in:
@@ -88,8 +88,8 @@ PlaylistTabBar::PlaylistTabBar(QWidget *parent)
|
||||
|
||||
void PlaylistTabBar::SetActions(QAction *new_playlist, QAction *load_playlist) {
|
||||
|
||||
menu_->insertAction(0, new_playlist);
|
||||
menu_->insertAction(0, load_playlist);
|
||||
menu_->insertAction(nullptr, new_playlist);
|
||||
menu_->insertAction(nullptr, load_playlist);
|
||||
|
||||
new_ = new_playlist;
|
||||
|
||||
|
||||
@@ -34,8 +34,7 @@
|
||||
|
||||
namespace PlaylistUndoCommands {
|
||||
|
||||
Base::Base(Playlist* playlist) : QUndoCommand(0), playlist_(playlist) {}
|
||||
|
||||
Base::Base(Playlist* playlist) : QUndoCommand(nullptr), playlist_(playlist) {}
|
||||
|
||||
InsertItems::InsertItems(Playlist *playlist, const PlaylistItemList &items, int pos, bool enqueue, bool enqueue_next)
|
||||
: Base(playlist),
|
||||
|
||||
Reference in New Issue
Block a user