Editor code: tidy up BOOLs,NULLs and overrides pt6.
A few 'typedefs' replaced by 'using's This shouldn't have any functional changes at all, just c++17 modernization It's a part 6 of a split #2847 Signed-off-by: Nemerle <nemerle5+git@gmail.com>
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
m_manager.AddListener(this);
|
||||
}
|
||||
|
||||
virtual ~UndoDropDownListModel()
|
||||
~UndoDropDownListModel() override
|
||||
{
|
||||
m_manager.RemoveListener(this);
|
||||
}
|
||||
@@ -81,7 +81,7 @@ public:
|
||||
return m_stackNames[index.row()];
|
||||
}
|
||||
|
||||
void SignalNumUndoRedo(const unsigned int& numUndo, const unsigned int& numRedo)
|
||||
void SignalNumUndoRedo(const unsigned int& numUndo, const unsigned int& numRedo) override
|
||||
{
|
||||
std::vector<QString> fresh;
|
||||
if (UndoRedoDirection::Undo == m_direction && m_stackNames.size() != numUndo)
|
||||
|
||||
Reference in New Issue
Block a user