mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 08:01:13 +02: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:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// The Administrator Utility for Rivendell.
|
||||
//
|
||||
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-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
|
||||
@@ -54,11 +54,6 @@
|
||||
#include "login.h"
|
||||
#include "rdadmin.h"
|
||||
|
||||
//
|
||||
// Icons
|
||||
//
|
||||
#include "../icons/rdadmin-22x22.xpm"
|
||||
|
||||
//
|
||||
// Global Classes
|
||||
//
|
||||
@@ -86,16 +81,13 @@ MainWidget::MainWidget(RDConfig *config,RDWidget *parent)
|
||||
//
|
||||
// Fix the Window Size
|
||||
//
|
||||
setMinimumWidth(sizeHint().width());
|
||||
setMaximumWidth(sizeHint().width());
|
||||
setMinimumHeight(sizeHint().height());
|
||||
setMaximumHeight(sizeHint().height());
|
||||
setMinimumSize(sizeHint());
|
||||
setMaximumSize(sizeHint());
|
||||
|
||||
//
|
||||
// Create And Set Icon
|
||||
//
|
||||
admin_rivendell_map=new QPixmap(rdadmin_22x22_xpm);
|
||||
setWindowIcon(*admin_rivendell_map);
|
||||
setWindowIcon(rda->iconEngine()->applicationIcon(RDIconEngine::RdAdmin,22));
|
||||
|
||||
//
|
||||
// Open the Database
|
||||
|
Reference in New Issue
Block a user