summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2015-08-28 03:00:04 +0200
committerArno <arno@disconnect.de>2015-08-28 03:00:04 +0200
commit8044844879f3bdb57f216c5be1499b0af5b5bbb7 (patch)
treec27d6174812213955889024424e0d374c063f3a5 /shemov.cpp
parent4f009ac16d451c518c1aad880236fc43cb0bb46b (diff)
downloadSheMov-8044844879f3bdb57f216c5be1499b0af5b5bbb7.tar.gz
SheMov-8044844879f3bdb57f216c5be1499b0af5b5bbb7.tar.bz2
SheMov-8044844879f3bdb57f216c5be1499b0af5b5bbb7.zip
Remove slide indicator from status bar
Useless, and didn't work anyway since using the control item in pictureviewer.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 32998c5..7c05b0d 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -254,20 +254,6 @@ void SheMov::setFsFree(){
mFsFree->setPixmap(QPixmap::fromImage(img));
}
-void SheMov::setSlide(bool toggled){
- QPixmap slidepm = QPixmap(":/chastity_belt_with_cuffs.png");
- QImage slideimg = QImage(slidepm.size(), QImage::Format_ARGB32);
- QColor bgColor = QColor(Qt::red);
- if(toggled){
- bgColor = QColor(Qt::green);
- }
- QPainter p(&slideimg);
- p.setBrush(bgColor);
- p.drawRect(0, 0, 20, mSlideLabel->height());
- p.drawPixmap(0, 0, slidepm);
- mSlideLabel->setPixmap(QPixmap::fromImage(slideimg));
-}
-
void SheMov::aboutShemov(){
QString aboutLabel = QString(tr("About %1")).arg(qApp->applicationName());
QString aboutText = QString(tr("<p>%1 is a little application to keep track of your pr0n movie collection, though it isn't limited to pr0n movies.</p>")).arg(qApp->applicationName());
@@ -376,13 +362,6 @@ void SheMov::createStatusbar(){
mSelectedItems->setFrameStyle(QFrame::Panel | QFrame::Sunken);
statusBar()->addPermanentWidget(selCountL);
statusBar()->addPermanentWidget(mSelectedItems);
- mSlideLabel = new QLabel;
- mSlideLabel->setMinimumWidth(20);
- mSlideLabel->setAlignment(Qt::AlignCenter);
- mSlideLabel->setPixmap(QPixmap());
- mSlideLabel->setFrameStyle(QFrame::Panel | QFrame::Sunken);
- statusBar()->addPermanentWidget(mSlideLabel);
- setSlide(false);
QLabel *freeL = new QLabel(tr("Free space"));
mFsFree = new QLabel(tr("calculating..."));
mFsFree->setFrameStyle(QFrame::Panel | QFrame::Sunken);