Added filedialog on eject button.
This commit is contained in:
parent
f64f4748a3
commit
277dfb619a
5 changed files with 70 additions and 1 deletions
|
|
@ -3,6 +3,8 @@
|
|||
#include "TitleBar.h"
|
||||
#include "TextBar.h"
|
||||
|
||||
#include <QFileDialog>
|
||||
|
||||
MainDisplay::MainDisplay (QWidget *parent) : SkinDisplay(parent)
|
||||
{
|
||||
XMMSHandler *xmmsh = XMMSHandler::getInstance ();
|
||||
|
|
@ -161,6 +163,7 @@ MainDisplay::SetupPushButtons (void)
|
|||
|
||||
m_eject = new Button (this, Skin::BTN_EJECT_0, Skin::BTN_EJECT_1);
|
||||
m_eject->move(136, 89);
|
||||
connect (m_eject, SIGNAL(clicked()), xmmsh, SLOT(fileOpen()));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue