summaryrefslogtreecommitdiffstats
path: root/archivebrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'archivebrowser.cpp')
-rw-r--r--archivebrowser.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/archivebrowser.cpp b/archivebrowser.cpp
index 3341d7c..1a73be4 100644
--- a/archivebrowser.cpp
+++ b/archivebrowser.cpp
@@ -21,6 +21,7 @@
#include <QProgressDialog>
#include <QHeaderView>
#include <QMenu>
+#include <QApplication>
#include "archivebrowser.h"
#include "archivebrowsermodel.h"
@@ -65,26 +66,26 @@ ArchiveBrowser::ArchiveBrowser(QWidget *parent) : QWidget(parent), mSelectedSize
mTree->addAction(refreshA);
toolBar->addSeparator();
mTree->addAction(Helper::createSeparator(this));
- QAction *playSelectedA = new QAction(QIcon(":/dildo.png"), tr("Play selected..."), this);
+ QAction *playSelectedA = new QAction(QIcon::fromTheme("media-playback-start"), tr("Play selected..."), this);
connect(playSelectedA, &QAction::triggered, this, &ArchiveBrowser::playSelected);
toolBar->addAction(playSelectedA);
mTree->addAction(playSelectedA);
- QAction *moveToUSBA = new QAction(QIcon(":/clean_tampon.png"), tr("Move to USB..."), this);
+ QAction *moveToUSBA = new QAction(QIcon(":/usb-32.png"), tr("Move to USB..."), this);
connect(moveToUSBA, &QAction::triggered, this, &ArchiveBrowser::moveToUSB);
toolBar->addAction(moveToUSBA);
mTree->addAction(moveToUSBA);
- QAction *moveToBurnA = new QAction(QIcon(":/shackles.png"), tr("Move to burn..."), this);
+ QAction *moveToBurnA = new QAction(QIcon(":/fire.png"), tr("Move to burn..."), this);
connect(moveToBurnA, &QAction::triggered, this, &ArchiveBrowser::moveToBurn);
toolBar->addAction(moveToBurnA);
mTree->addAction(moveToBurnA);
toolBar->addSeparator();
mTree->addAction(Helper::createSeparator(this));
- QIcon downArrowIcon = Helper::icon(QColor(255,85,255), Qt::white, QChar(0x2b07), true, true);
+ QIcon downArrowIcon = Helper::icon(Qt::transparent, qApp->palette().color(QPalette::Text), QChar(0x2b07), true, false);
QAction *expandAllA = new QAction(downArrowIcon, tr("Expand all"), this);
connect(expandAllA, &QAction::triggered, archiveTree(), &SmTreeView::expandAll);
toolBar->addAction(expandAllA);
mTree->addAction(expandAllA);
- QIcon upArrowIcon = Helper::icon(QColor(255,85,255), Qt::white, QChar(0x2b06), true, true);
+ QIcon upArrowIcon = Helper::icon(Qt::transparent, qApp->palette().color(QPalette::Text), QChar(0x2b06), true, false);
QAction *collapseAllA = new QAction(upArrowIcon, tr("Collapse all"), this);
connect(collapseAllA, &QAction::triggered, archiveTree(), &SmTreeView::collapseAll);
toolBar->addAction(collapseAllA);
@@ -106,7 +107,7 @@ ArchiveBrowser::ArchiveBrowser(QWidget *parent) : QWidget(parent), mSelectedSize
}
connect(a, &QAction::triggered, [=] { mTree->toggleHeader(a); });
}
- QIcon headerIcon = Helper::icon(QColor(255,85,255), Qt::white, 'H', true, true);
+ QIcon headerIcon = Helper::icon(Qt::transparent, qApp->palette().color(QPalette::Text), 'H', true, false);
QAction *headerA = new QAction(headerIcon, tr("Show headers"), this);
QMenu *headerMenu = new QMenu;
headerMenu->addActions(hDataAG->actions());