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

@@ -26,11 +26,6 @@
#include "rdcartslots.h"
//
// Icons
//
#include "../icons/rdcartslots-22x22.xpm"
MainWidget::MainWidget(RDConfig *c,QWidget *parent)
: RDWidget(c,parent)
{
@@ -60,8 +55,8 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
//
// Create Icons
//
lib_rivendell_map=new QPixmap(rdcartslots_22x22_xpm);
setWindowIcon(*lib_rivendell_map);
setWindowIcon(rda->iconEngine()->
applicationIcon(RDIconEngine::RdCartSlots,22));
//
// CAE Connection

View File

@@ -2,7 +2,7 @@
//
// A Dedicated Cart Slot Utility for Rivendell.
//
// (C) Copyright 2012-2019 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2012-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -52,7 +52,6 @@ class MainWidget : public RDWidget
void RunLocalMacros(RDMacro *rml);
void SetCaption();
RDEventPlayer *panel_player;
QPixmap *lib_rivendell_map;
QString panel_filter;
QString panel_group;
QString panel_schedcode;