Skip to content

Commit

Permalink
Add missing MOC for backupmanager for Qt 6 compatibility
Browse files Browse the repository at this point in the history
Also removed an unused reference
  • Loading branch information
MrStevns committed Apr 9, 2024
1 parent 255f631 commit 5cdf342
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions core_lib/src/interface/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1063,8 +1063,3 @@ bool Editor::backup(int layerNumber, int frameNumber, const QString &undoText)
updateAutoSaveCounter();
return didBackup;
}

void Editor::clearUndoStack()
{
backups()->clearStack();
}
3 changes: 1 addition & 2 deletions core_lib/src/interface/editor.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Q_MOC_INCLUDE("selectionmanager.h")
Q_MOC_INCLUDE("soundmanager.h")
Q_MOC_INCLUDE("overlaymanager.h")
Q_MOC_INCLUDE("clipboardmanager.h")
Q_MOC_INCLUDE("backupmanager.h")
#endif

class QClipboard;
Expand Down Expand Up @@ -268,8 +269,6 @@ class Editor : public QObject

QList<QTemporaryDir*> mTemporaryDirs;

// backup
void clearUndoStack();
void updateAutoSaveCounter();
};

Expand Down

0 comments on commit 5cdf342

Please sign in to comment.