Tell the user to have at least one non-Steam shortcut

experimental
Peter Repukat 7 years ago
parent 2ca1e8ab3d
commit 8c8f7e5221

@ -224,7 +224,9 @@ void GloSC::on_pbAddToSteam_clicked()
//TODO: FIXME: If User has no shortcuts file, create one! //TODO: FIXME: If User has no shortcuts file, create one!
if (!shortcutsFile.exists()) if (!shortcutsFile.exists())
{ {
QMessageBox::information(this, "GloSC", "Couldn't detect Steam shortcuts file!\nSteam must be running for it to be detected", QMessageBox::Ok); QMessageBox::information(this, "GloSC", "Couldn't detect Steam shortcuts file!\n\
Make sure you have at least one non-Steam shortcut for the file to be present\n\
Steam must be running for it to be detected", QMessageBox::Ok);
return; return;
} }
if (!shortcutsFile.open(QFile::ReadWrite)) if (!shortcutsFile.open(QFile::ReadWrite))
@ -358,7 +360,6 @@ void GloSC::on_pbUWP_clicked()
delete settings; delete settings;
QProgressDialog progDialog("Searching for UWP apps...", "Cancel", 0, packages.size(), this); QProgressDialog progDialog("Searching for UWP apps...", "Cancel", 0, packages.size(), this);
progDialog.setWindowModality(Qt::WindowModal); progDialog.setWindowModality(Qt::WindowModal);

Loading…
Cancel
Save