summaryrefslogtreecommitdiffstats
path: root/randomtab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'randomtab.cpp')
-rw-r--r--randomtab.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/randomtab.cpp b/randomtab.cpp
index 893b327..3c01514 100644
--- a/randomtab.cpp
+++ b/randomtab.cpp
@@ -45,7 +45,6 @@ RandomTab::RandomTab(QWidget *parent) : QWidget(parent) {
mActorModel = new QStandardItemModel(this);
setupModels();
setupGui();
- setupActions();
mFileView->setContextMenu(mContextMenu);
clearAll();
readSettings();
@@ -179,22 +178,6 @@ void RandomTab::setupGui(){
setLayout(mainLayout);
}
-void RandomTab::setupActions(){
- mRefreshA = new QAction(QIcon(":/refresh.png"), tr("Refresh"));
- connect(mRefreshA, SIGNAL(triggered()), this, SLOT(refreshComboboxes()));
- mClearA = new QAction(QIcon(":/delete.png"), tr("Clear"), this);
- connect(mClearA, SIGNAL(triggered()), this, SLOT(clearAll()));
- mConfigureA = new QAction(QIcon(":/chastity_belt.png"), tr("Configure..."), this);
- connect(mConfigureA, SIGNAL(triggered()), this, SIGNAL(configure()));
-
- mEditMenu = new QMenu(tr("&Edit"), this);
- mEditMenu->addSeparator();
- mEditMenu->addAction(mRefreshA);
- mEditMenu->addAction(mClearA);
- mEditMenu->addSeparator();
- mEditMenu->addAction(mConfigureA);
-}
-
void RandomTab::writeSettings(){
QSettings s;
QStringList selGenres;