From 880ada0d1d52b16f12c22f8b9efce0985b93fe76 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 22 May 2011 10:08:47 +0200 Subject: Artwork for show all files action Added an icon for show all files action. Also added it to the toolbar. --- male_chastity_belt.png | Bin 0 -> 927 bytes shemov.cpp | 3 ++- shemov.qrc | 1 + smglobals.cpp | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 male_chastity_belt.png diff --git a/male_chastity_belt.png b/male_chastity_belt.png new file mode 100644 index 0000000..ca3a859 Binary files /dev/null and b/male_chastity_belt.png differ diff --git a/shemov.cpp b/shemov.cpp index 395cac3..212642b 100644 --- a/shemov.cpp +++ b/shemov.cpp @@ -469,7 +469,7 @@ void SheMov::createActions(){ mShowNormalA->setChecked(true); mShowNoCoverDialogA = new QAction(QIcon(":/higheels.png"), tr("List movies without cover..."), this); connect(mShowNoCoverDialogA, SIGNAL(triggered()), mATree, SLOT(showNoCoverDialog())); - mShowAllFilesA = new QAction(tr("Show All files"), this); + mShowAllFilesA = new QAction(QIcon(":/male_chastity_belt.png"), tr("Show All files"), this); mShowAllFilesA->setCheckable(true); connect(mShowAllFilesA, SIGNAL(toggled(bool)), mATree, SLOT(showAllFiles(bool))); @@ -872,6 +872,7 @@ void SheMov::createToolBar(){ toolBar->addAction(mShowNormalA); toolBar->addAction(mShowArchivedA); toolBar->addAction(mShowLocalA); + toolBar->addAction(mShowAllFilesA); toolBar->addSeparator(); toolBar->addActions(mFilterGroup->actions()); toolBar->addAction(mFilterFavoritesA); diff --git a/shemov.qrc b/shemov.qrc index 71c039b..37b4f6d 100644 --- a/shemov.qrc +++ b/shemov.qrc @@ -27,5 +27,6 @@ bizarre_amputee.png spreadingpants.png dog_hood.png + male_chastity_belt.png diff --git a/smglobals.cpp b/smglobals.cpp index 15147da..80c45ea 100644 --- a/smglobals.cpp +++ b/smglobals.cpp @@ -136,6 +136,7 @@ SmGlobals::SmGlobals() : mPictureViewer(0), mFrameCache(0){ mIcons.insert("Bizarre amputee", ":/bizarre_amputee.png"); mIcons.insert("Spreading pants", ":/spreadingpants.png"); mIcons.insert("Leather dog hood", ":/dog_hood.png"); + mIcons.insert("Male chastity belt", ":/male_chastity_belt.png"); } //FrameCache -- cgit v1.2.3-70-g09d2