mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
Fix or silence Qt warnings
This commit is contained in:
parent
586440622b
commit
1ad0f24ecd
8 changed files with 24 additions and 10 deletions
|
|
@ -194,7 +194,7 @@ void patch_manager_dialog::populate_tree()
|
|||
{
|
||||
// "Reset" currently used items. Items that aren't persisted will be removed later.
|
||||
// Using this logic instead of clearing the tree here should persist the expanded status of items.
|
||||
for (auto item : ui->patch_tree->findItems(".*", Qt::MatchFlag::MatchRegExp | Qt::MatchFlag::MatchRecursive))
|
||||
for (auto item : ui->patch_tree->findItems(".*", Qt::MatchFlag::MatchRegularExpression | Qt::MatchFlag::MatchRecursive))
|
||||
{
|
||||
if (item)
|
||||
{
|
||||
|
|
@ -430,7 +430,7 @@ void patch_manager_dialog::filter_patches(const QString& term)
|
|||
};
|
||||
|
||||
// Go through each top level item and try to find matches
|
||||
for (auto top_level_item : ui->patch_tree->findItems(".*", Qt::MatchRegExp))
|
||||
for (auto top_level_item : ui->patch_tree->findItems(".*", Qt::MatchRegularExpression))
|
||||
{
|
||||
show_matches(top_level_item, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue