mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 04:11:06 -05:00
Refactor help icon usage
This commit is contained in:
@@ -242,7 +242,7 @@ MacroConditionStreamEdit::MacroConditionStreamEdit(
|
||||
_keyFrameInterval(new VariableSpinBox()),
|
||||
_streamKey(new VariableLineEdit(this)),
|
||||
_serviceName(new VariableLineEdit(this)),
|
||||
_currentService(new AutoUpdateTooltipLabel(
|
||||
_currentService(new AutoUpdateHelpIcon(
|
||||
this,
|
||||
[]() {
|
||||
QString formatString = obs_module_text(
|
||||
@@ -255,13 +255,6 @@ MacroConditionStreamEdit::MacroConditionStreamEdit(
|
||||
_keyFrameInterval->setMinimum(0);
|
||||
_keyFrameInterval->setMaximum(25);
|
||||
|
||||
QString path = GetThemeTypeName() == "Light"
|
||||
? ":/res/images/help.svg"
|
||||
: ":/res/images/help_light.svg";
|
||||
QIcon icon(path);
|
||||
QPixmap pixmap = icon.pixmap(QSize(16, 16));
|
||||
_currentService->setPixmap(pixmap);
|
||||
|
||||
_streamKey->setEchoMode(QLineEdit::PasswordEchoOnEdit);
|
||||
|
||||
populateConditionSelection(_conditions);
|
||||
|
||||
Reference in New Issue
Block a user