mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +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
|
|
@ -93,7 +93,7 @@ static QTreeWidgetItem* find_first_node(QTreeWidget* tree, QTreeWidgetItem *pare
|
|||
{
|
||||
if (tree && parent)
|
||||
{
|
||||
for (auto item : tree->findItems(regexp, Qt::MatchFlag::MatchRegExp | Qt::MatchFlag::MatchRecursive))
|
||||
for (auto item : tree->findItems(regexp, Qt::MatchFlag::MatchRegularExpression | Qt::MatchFlag::MatchRecursive))
|
||||
{
|
||||
if (item->parent() == parent && item->data(0, kernel_item_role::type_role).toInt() != kernel_item_type::leaf)
|
||||
{
|
||||
|
|
@ -108,7 +108,7 @@ static QTreeWidgetItem* find_node(QTreeWidget* tree, u32 id)
|
|||
{
|
||||
if (tree)
|
||||
{
|
||||
for (auto item : tree->findItems(".*", Qt::MatchFlag::MatchRegExp | Qt::MatchFlag::MatchRecursive))
|
||||
for (auto item : tree->findItems(".*", Qt::MatchFlag::MatchRegularExpression | Qt::MatchFlag::MatchRecursive))
|
||||
{
|
||||
if (item->data(0, kernel_item_role::type_role).toInt() == kernel_item_type::node &&
|
||||
item->data(0, kernel_item_role::id_role).toUInt() == id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue