aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/covereditor.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-09-16 19:58:23 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-09-16 19:58:23 +0000
commitf873e408d97f494837f9ec2ef0e00ad484f3b88b (patch)
treed3a22068026b191717e1337655097275fa01142d /src/qmmpui/covereditor.cpp
parent58ca82ebbd83ddcc1d2ff0f512327cdf45c999bf (diff)
downloadqmmp-f873e408d97f494837f9ec2ef0e00ad484f3b88b.tar.gz
qmmp-f873e408d97f494837f9ec2ef0e00ad484f3b88b.tar.bz2
qmmp-f873e408d97f494837f9ec2ef0e00ad484f3b88b.zip
cover editor: implemented remaining functions
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8305 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/covereditor.cpp')
-rw-r--r--src/qmmpui/covereditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmmpui/covereditor.cpp b/src/qmmpui/covereditor.cpp
index cf17635ac..12d538dda 100644
--- a/src/qmmpui/covereditor.cpp
+++ b/src/qmmpui/covereditor.cpp
@@ -56,7 +56,7 @@ bool CoverEditor::isEditable() const
void CoverEditor::save()
{
-
+ m_viewer->hasPixmap() ? m_model->setCover(m_viewer->pixmap()) : m_model->removeCover();
}
void CoverEditor::on_sourceComboBox_activated(int index)
@@ -79,12 +79,12 @@ void CoverEditor::on_sourceComboBox_activated(int index)
void CoverEditor::on_loadButton_clicked()
{
-
+ m_viewer->load();
}
void CoverEditor::on_deleteButton_clicked()
{
-
+ m_viewer->clear();
}
void CoverEditor::on_saveAsButton_clicked()