mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +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
|
|
@ -37,7 +37,7 @@ void screenshot_preview::show_context_menu(const QPoint & pos)
|
|||
menu->addSeparator();
|
||||
|
||||
QAction* reset_act = menu->addAction(tr("To &Normal Size"), [this]() { scale(m_image.size()); });
|
||||
reset_act->setEnabled(pixmap()->size() != m_image.size());
|
||||
reset_act->setEnabled(pixmap(Qt::ReturnByValue).size() != m_image.size());
|
||||
|
||||
QAction* stretch_act = menu->addAction(tr("&Stretch to size"), [this]() { m_stretch = !m_stretch; scale(size()); });
|
||||
stretch_act->setCheckable(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue