mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +00:00
Loosen applist XML validation to accept empty app names
This matches the behavior of the Android and iOS clients. Fixes #1921
This commit is contained in:
1 parent
5034a324b4
commit
cdacb3d28d
2 files changed
+13
-2
No files matched your search
+3
-1
@@ -25,7 +25,9 @@ public:
|
||||
|
||||
bool isInitialized()
|
||||
{
|
||||
return id != 0 && !name.isEmpty();
|
||||
// We use isNull() instead of isEmpty() here because we want
|
||||
// to detect cases where the name is unassigned, not empty.
|
||||
return id != 0 && !name.isNull();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user