Skip to content

Commit

Permalink
fix icon of createPatchButton for non KDE
Browse files Browse the repository at this point in the history
  • Loading branch information
progwolff committed Feb 22, 2017
1 parent ca7cac1 commit c31aee0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/performer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ Performer::Performer(QWidget *parent) :
connect(m_setlist->nameEdit, &QLineEdit::textEdited, this, [this](){updateSelected(); setWindowModified(true);});

connect(m_setlist->createpatchbutton, SIGNAL(clicked()), SLOT(createPatch()));
m_setlist->createpatchbutton->setIcon(QIcon::fromTheme("list-add", QApplication::style()->standardIcon(QStyle::SP_FileDialogListView)));
#ifndef WITH_JACK
m_setlist->createpatchbutton->setEnabled(false);
m_setlist->createpatchbutton->setToolTip(i18n("Performer was built without Jack. Rebuild Performer with Jack to enable loading Carla patches."));
Expand Down

0 comments on commit c31aee0

Please sign in to comment.