2021-01-24 Fred Gleason <fredg@paravelsystems.com>

* Added a 'RDIconEngine::applicationIcon()' method.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-01-24 14:49:25 -05:00
parent d6be662898
commit be3fcfd4ef
30 changed files with 595 additions and 126 deletions

View File

@@ -34,7 +34,6 @@
//
// Icons
//
#include "../icons/rdcastmanager-22x22.xpm"
#include "../icons/greencheckmark.xpm"
#include "../icons/redx.xpm"
#include "../icons/rdcastmanager-32x32.xpm"
@@ -96,8 +95,8 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
//
// Create Icons
//
cast_rivendell_map=new QPixmap(rdcastmanager_22x22_xpm);
setWindowIcon(*cast_rivendell_map);
setWindowIcon(rda->iconEngine()->
applicationIcon(RDIconEngine::RdCastManager,22));
cast_greencheckmark_map=new QPixmap(greencheckmark_xpm);
cast_redx_map=new QPixmap(redx_xpm);
cast_rdcastmanager_32x32_map=new QPixmap(rdcastmanager_32x32_xpm);

View File

@@ -53,7 +53,6 @@ class MainWidget : public RDWidget
void RefreshItem(RDListViewItem *item);
void RefreshList();
RDListView *cast_feed_list;
QPixmap *cast_rivendell_map;
QPixmap *cast_greencheckmark_map;
QPixmap *cast_redx_map;
QPixmap *cast_rdcastmanager_32x32_map;