Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
elysia-best authored Oct 18, 2024
1 parent edcc406 commit ced3066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings-daemon/brightness/brightnessmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int BrightnessManager::brightness()
void BrightnessManager::setValue(int value)
{
QProcess process;
process.start("pkexec", QStringList() << "lingmo-screen-brightness" << "--set" << QString::number(value));
process.start("pkexec", QStringList() << "/usr/bin/lingmo-screen-brightness" << "--set" << QString::number(value));
process.waitForFinished(-1);
}

Expand Down

0 comments on commit ced3066

Please sign in to comment.