all repos — mgba @ b1e6a0df081c1187fb35d7901647a361e18bceb1

mGBA Game Boy Advance Emulator

Qt: Video view should codecs update as you type
Jeffrey Pfau jeffrey@endrift.com
Mon, 10 Nov 2014 04:52:50 -0800
commit

b1e6a0df081c1187fb35d7901647a361e18bceb1

parent

04af84a1d2a5f1e36fdae26b8fc500285d29a7ae

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/VideoView.cppsrc/platform/qt/VideoView.cpp

@@ -47,6 +47,9 @@

connect(m_ui.audio, SIGNAL(activated(const QString&)), this, SLOT(setAudioCodec(const QString&))); connect(m_ui.video, SIGNAL(activated(const QString&)), this, SLOT(setVideoCodec(const QString&))); connect(m_ui.container, SIGNAL(activated(const QString&)), this, SLOT(setContainer(const QString&))); + connect(m_ui.audio, SIGNAL(editTextChanged(const QString&)), this, SLOT(setAudioCodec(const QString&))); + connect(m_ui.video, SIGNAL(editTextChanged(const QString&)), this, SLOT(setVideoCodec(const QString&))); + connect(m_ui.container, SIGNAL(editTextChanged(const QString&)), this, SLOT(setContainer(const QString&))); connect(m_ui.abr, SIGNAL(valueChanged(int)), this, SLOT(setAudioBitrate(int))); connect(m_ui.vbr, SIGNAL(valueChanged(int)), this, SLOT(setVideoBitrate(int)));