Add extra log msg if shortcuts.vdf doesn't exist

pull/179/head
Peter Repukat 2 years ago
parent 14e4662df7
commit 40390b568d

@ -424,6 +424,11 @@ bool UIModel::foundSteam() const
void UIModel::parseShortcutVDF()
{
const std::filesystem::path config_path = std::wstring(getSteamPath()) + user_data_path_.toStdWString() + getSteamUserId() + shortcutsfile_.toStdWString();
if (!std::filesystem::exists(config_path)) {
qDebug() << "Shortcuts file does not exist.";
return;
}
try {
shortcuts_vdf_ = VDFParser::Parser::parseShortcuts(config_path, qDebug());
}

Loading…
Cancel
Save