diff --git a/data/images/cancel.png b/data/images/cancel.png new file mode 100644 index 000000000..f990ba8bd Binary files /dev/null and b/data/images/cancel.png differ diff --git a/data/images/delete.png b/data/images/delete.png new file mode 100644 index 000000000..a1a9b64f2 Binary files /dev/null and b/data/images/delete.png differ diff --git a/resources.qrc b/resources.qrc index b464ae6c3..599a9f556 100644 --- a/resources.qrc +++ b/resources.qrc @@ -160,5 +160,7 @@ data/images/spotify-sourceicon.png data/images/account-offline.png data/images/account-online.png + data/images/cancel.png + data/images/delete.png diff --git a/src/libtomahawk/widgets/SourceTreePopupDialog.cpp b/src/libtomahawk/widgets/SourceTreePopupDialog.cpp index 5869c50d5..81224190b 100644 --- a/src/libtomahawk/widgets/SourceTreePopupDialog.cpp +++ b/src/libtomahawk/widgets/SourceTreePopupDialog.cpp @@ -62,16 +62,18 @@ SourceTreePopupDialog::SourceTreePopupDialog() m_label = new QLabel( this ); m_buttons = new QDialogButtonBox( QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, this ); - //TODO: get some nice icons for this - m_buttons->button( QDialogButtonBox::Ok )->setIcon( QIcon() ); - m_buttons->button( QDialogButtonBox::Cancel )->setIcon( QIcon() ); + + m_buttons->button( QDialogButtonBox::Ok )->setIcon( QIcon( RESPATH "images/delete.png" ) ); + m_buttons->button( QDialogButtonBox::Cancel )->setIcon( QIcon( RESPATH "images/cancel.png" ) ); connect( m_buttons, SIGNAL( accepted() ), this, SLOT( onAccepted() ) ); connect( m_buttons, SIGNAL( rejected() ), this, SLOT( onRejected() ) ); m_layout = new QVBoxLayout; + TomahawkUtils::unmarginLayout( m_layout ); setLayout( m_layout ); m_layout->setSpacing( 8 ); + m_layout->setMargin( 6 ); m_layout->addWidget( m_title );