mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 01:00:18 +01:00
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:
@@ -45,11 +45,6 @@
|
||||
RDAudioPort *rdaudioport_conf;
|
||||
RDCartDialog *panel_cart_dialog;
|
||||
|
||||
//
|
||||
// Icons
|
||||
//
|
||||
#include "../icons/rdpanel-22x22.xpm"
|
||||
|
||||
MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
: RDWidget(c,parent)
|
||||
{
|
||||
@@ -64,12 +59,6 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
setMaximumSize(sizeHint());
|
||||
#endif // RESIZABLE
|
||||
|
||||
//
|
||||
// Create Icons
|
||||
//
|
||||
lib_rivendell_map=new QPixmap(rdpanel_22x22_xpm);
|
||||
setWindowIcon(*lib_rivendell_map);
|
||||
|
||||
//
|
||||
// Open the Database
|
||||
//
|
||||
@@ -78,6 +67,7 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
|
||||
QMessageBox::critical(this,"RDPanel - "+tr("Error"),err_msg);
|
||||
exit(1);
|
||||
}
|
||||
setWindowIcon(rda->iconEngine()->applicationIcon(RDIconEngine::RdPanel,22));
|
||||
|
||||
//
|
||||
// Read Command Options
|
||||
|
||||
Reference in New Issue
Block a user