Skip to content

Commit

Permalink
chore: remove unsubscribe("signal_Model_EmptyDir")
Browse files Browse the repository at this point in the history
It cause crash

Log: remove  unsubscribe("signal_Model_EmptyDir")
  • Loading branch information
Johnson-zs committed Mar 27, 2024
1 parent d73a8d9 commit 12e5408
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/plugins/filemanager/core/dfmplugin-trash/trash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ bool Trash::start()

Trash::~Trash()
{
dpfSignalDispatcher->unsubscribe("dfmplugin_workspace", "signal_Model_EmptyDir", TrashHelper::instance(), &TrashHelper::onTrashEmptyState);
}

void Trash::onWindowOpened(quint64 windId)
Expand Down

0 comments on commit 12e5408

Please sign in to comment.