SettingsDialog: Add todo

Maybe someday I'll actually do this todo.
This commit is contained in:
tt2468 2021-06-13 04:01:21 -07:00
parent c9619ce215
commit abfc6f0b28

View File

@ -189,6 +189,7 @@ void SettingsDialog::FillSessionTable()
QIcon crossIcon = style()->standardIcon(QStyle::SP_DialogCancelButton); QIcon crossIcon = style()->standardIcon(QStyle::SP_DialogCancelButton);
QPixmap crossIconPixmap = crossIcon.pixmap(QSize(25, 25)); QPixmap crossIconPixmap = crossIcon.pixmap(QSize(25, 25));
// Todo: Make a util for translations so that we don't need to import a bunch of obs libraries in order to use them.
obs_frontend_push_ui_translation(obs_module_get_string); obs_frontend_push_ui_translation(obs_module_get_string);
QString kickButtonText = QObject::tr("OBSWebSocket.SessionTable.KickButtonText"); QString kickButtonText = QObject::tr("OBSWebSocket.SessionTable.KickButtonText");
obs_frontend_pop_ui_translation(); obs_frontend_pop_ui_translation();