various: encapsulate all code in the olive namespace to avoid name collisions
Large-scale code cleanup. Also adds a license to the top of all files that were missing it.
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "undostack.h"
|
||||
|
||||
OLIVE_NAMESPACE_ENTER
|
||||
|
||||
void UndoStack::pushIfHasChildren(QUndoCommand *command)
|
||||
{
|
||||
if (command->childCount() > 0) {
|
||||
@@ -28,3 +30,5 @@ void UndoStack::pushIfHasChildren(QUndoCommand *command)
|
||||
delete command;
|
||||
}
|
||||
}
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
|
||||
Reference in New Issue
Block a user