mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 15:16:07 +01:00
2019-10-02 Fred Gleason <fredg@paravelsystems.com>
* Refactored rdairplay(1) to use the 'RDDialog' and 'RDWidget' base classes.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// The button log widget for RDAirPlay
|
||||
//
|
||||
// (C) Copyright 2002-2018 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2019 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
|
||||
@@ -18,20 +18,11 @@
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#include <qtimer.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qpainter.h>
|
||||
|
||||
#include <rdapplication.h>
|
||||
#include <rdlistviewitem.h>
|
||||
|
||||
#include "button_log.h"
|
||||
#include "colors.h"
|
||||
#include "globals.h"
|
||||
|
||||
ButtonLog::ButtonLog(RDLogPlay *log,RDCae *cae,int id,RDAirPlayConf *conf,
|
||||
bool allow_pause,QWidget *parent)
|
||||
: QWidget(parent)
|
||||
: RDWidget(parent)
|
||||
{
|
||||
log_id=id;
|
||||
log_log=log;
|
||||
@@ -41,9 +32,6 @@ ButtonLog::ButtonLog(RDLogPlay *log,RDCae *cae,int id,RDAirPlayConf *conf,
|
||||
log_time_mode=RDAirPlayConf::TwentyFourHour;
|
||||
log_pause_enabled=allow_pause;
|
||||
|
||||
QFont font=QFont("Helvetica",14,QFont::Bold);
|
||||
font.setPixelSize(14);
|
||||
|
||||
//
|
||||
// Set Mappings
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user