summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2011-05-22 10:08:47 +0200
committerArno <am@disconnect.de>2011-05-22 10:08:47 +0200
commit880ada0d1d52b16f12c22f8b9efce0985b93fe76 (patch)
treefa097d0c6476913f041d80fb5fe4ebd05e2de854
parent3699ffafe4864a1e20c8980a610d68756c37f5cf (diff)
downloadSheMov-880ada0d1d52b16f12c22f8b9efce0985b93fe76.tar.gz
SheMov-880ada0d1d52b16f12c22f8b9efce0985b93fe76.tar.bz2
SheMov-880ada0d1d52b16f12c22f8b9efce0985b93fe76.zip
Artwork for show all files action
Added an icon for show all files action. Also added it to the toolbar.
-rw-r--r--male_chastity_belt.pngbin0 -> 927 bytes
-rw-r--r--shemov.cpp3
-rw-r--r--shemov.qrc1
-rw-r--r--smglobals.cpp1
4 files changed, 4 insertions, 1 deletions
diff --git a/male_chastity_belt.png b/male_chastity_belt.png
new file mode 100644
index 0000000..ca3a859
--- /dev/null
+++ b/male_chastity_belt.png
Binary files 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 @@
<file>bizarre_amputee.png</file>
<file>spreadingpants.png</file>
<file>dog_hood.png</file>
+ <file>male_chastity_belt.png</file>
</qresource>
</RCC>
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