Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
331 B
2
Indexable
Never
	for (auto action : m_popup->actions())
	{
		if (!action->isSeparator())
		{
			auto text = qobject_cast<Movavi::Popcorn::PopcornAction *>(action)->text();
			qobject_cast<Movavi::Popcorn::PopcornAction *>(action)->setText(Translator::translate(text, "AddTrackButton.menu"));
		}

		//m_popup->actions().at(0)->setText("hello");
	}