added Q_OBJECT macro to classes that were missing it

This commit is contained in:
itsmattkc
2020-11-17 19:13:16 +11:00
parent d24178b1b1
commit 15a29288aa
32 changed files with 43 additions and 16 deletions
+2 -2
View File
@@ -509,7 +509,7 @@ ProjectViewModel::MoveItemCommand::MoveItemCommand(ProjectViewModel *model,
{
source_ = static_cast<Folder*>(item->parent());
setText(tr("Move Item"));
setText(QCoreApplication::translate("MoveItemCommand", "Move Item"));
}
Project *ProjectViewModel::MoveItemCommand::GetRelevantProject() const
@@ -535,7 +535,7 @@ ProjectViewModel::RenameItemCommand::RenameItemCommand(ProjectViewModel* model,
{
old_name_ = item->name();
setText(tr("Rename Item"));
setText(QCoreApplication::translate("RenameItemCommand", "Rename Item"));
}
Project *ProjectViewModel::RenameItemCommand::GetRelevantProject() const