mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 18:50:29 +00:00
Qt: fix tool button handling on shader window
This commit is contained in:
parent
3ad54bc9ca
commit
0ed43eb908
@ -314,7 +314,7 @@ void ShaderParamsDialog::onScaleComboBoxIndexChanged(int)
|
||||
|
||||
void ShaderParamsDialog::onShaderPassMoveDownClicked()
|
||||
{
|
||||
QPushButton *button = qobject_cast<QPushButton*>(sender());
|
||||
QToolButton *button = qobject_cast<QToolButton*>(sender());
|
||||
QVariant passVariant;
|
||||
struct video_shader *menu_shader = NULL;
|
||||
struct video_shader *video_shader = NULL;
|
||||
@ -360,7 +360,7 @@ void ShaderParamsDialog::onShaderPassMoveDownClicked()
|
||||
|
||||
void ShaderParamsDialog::onShaderPassMoveUpClicked()
|
||||
{
|
||||
QPushButton *button = qobject_cast<QPushButton*>(sender());
|
||||
QToolButton *button = qobject_cast<QToolButton*>(sender());
|
||||
QVariant passVariant;
|
||||
struct video_shader *menu_shader = NULL;
|
||||
struct video_shader *video_shader = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user