summaryrefslogtreecommitdiffstats
path: root/src/qphotorec.cpp
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-04-03 18:20:08 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-04-03 18:20:08 +0200
commitf2c20d770c6cb1ec579cd111cda116bda7188ef8 (patch)
treeeabc2d0f2e6cff8189a5b66c63cdd61b0511792c /src/qphotorec.cpp
parent43f2bda4a4ad83a3f70cd8fb074e2e3485572518 (diff)
qphotorec: add Proceed and Quit button
Diffstat (limited to 'src/qphotorec.cpp')
-rw-r--r--src/qphotorec.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qphotorec.cpp b/src/qphotorec.cpp
index ef1a658..d6d18ee 100644
--- a/src/qphotorec.cpp
+++ b/src/qphotorec.cpp
@@ -53,10 +53,12 @@ void QPhotorec::setupUi(QWidget *MainWindow)
{
MainWindow->setWindowTitle(tr("QPhotorec"));
HDDlistWidget = new QListWidget();
- btn = new QPushButton();
QVBoxLayout *mainLayout = new QVBoxLayout();
mainLayout->addWidget(HDDlistWidget);
- mainLayout->addWidget(btn);
+ QPushButton *button_next = new QPushButton("&Proceed");
+ mainLayout->addWidget(button_next);
+ QPushButton *button_quit= new QPushButton("&Quit");
+ mainLayout->addWidget(button_quit);
MainWindow->setLayout(mainLayout);
ashow();
}