mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-08 07:45:56 -04:00
Revert "Merge pull request #3110 from WizardCM/taskbar-color-setting"
This reverts commit04e01458e5, reversing changes made tob83a9dd0d6.
This commit is contained in:
@@ -5393,8 +5393,7 @@ inline void OBSBasic::OnActivate()
|
||||
UpdateProcessPriority();
|
||||
|
||||
#ifdef _WIN32
|
||||
if (taskbarStatusColor())
|
||||
taskProg->show();
|
||||
taskProg->show();
|
||||
taskProg->resume();
|
||||
taskProg->setValue(1);
|
||||
taskBtn->setOverlayIcon(QIcon::fromTheme(
|
||||
@@ -5428,8 +5427,7 @@ inline void OBSBasic::OnDeactivate()
|
||||
} else {
|
||||
if (os_atomic_load_bool(&recording_paused)) {
|
||||
#ifdef _WIN32
|
||||
if (taskbarStatusColor())
|
||||
taskProg->show();
|
||||
taskProg->show();
|
||||
taskProg->pause();
|
||||
taskBtn->setOverlayIcon(QIcon::fromTheme(
|
||||
"obs-paused",
|
||||
@@ -5440,8 +5438,7 @@ inline void OBSBasic::OnDeactivate()
|
||||
QIcon(":/res/images/obs_paused.png"));
|
||||
} else {
|
||||
#ifdef _WIN32
|
||||
if (taskbarStatusColor())
|
||||
taskProg->show();
|
||||
taskProg->show();
|
||||
taskProg->resume();
|
||||
taskBtn->setOverlayIcon(QIcon::fromTheme(
|
||||
"obs-active",
|
||||
@@ -7455,13 +7452,7 @@ bool OBSBasic::sysTrayMinimizeToTray()
|
||||
return config_get_bool(GetGlobalConfig(), "BasicWindow",
|
||||
"SysTrayMinimizeToTray");
|
||||
}
|
||||
#ifdef _WIN32
|
||||
bool OBSBasic::taskbarStatusColor()
|
||||
{
|
||||
return config_get_bool(GetGlobalConfig(), "BasicWindow",
|
||||
"TaskbarStatusColor");
|
||||
}
|
||||
#endif
|
||||
|
||||
void OBSBasic::on_actionCopySource_triggered()
|
||||
{
|
||||
copyStrings.clear();
|
||||
|
||||
Reference in New Issue
Block a user