fix srutct code
This commit is contained in:
@@ -13,6 +13,7 @@ void UpdateManager::checkUpdates()
|
||||
set_packages({});
|
||||
set_is_checking(true);
|
||||
|
||||
// Ищет в системе исполняемый файл с именем checkupdates и возвращает его абсолютный путь. Если файл не найден, возвращается пустая строка.
|
||||
const QString program = QStandardPaths::findExecutable(QStringLiteral("checkupdates"));
|
||||
if (program.isEmpty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user