mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 07:31:19 +02:00
2023-05-22 Fred Gleason <fredg@paravelsystems.com>
* Restored blank circle to the clock display when no clock event is selected in the 'Edit Clock' dialog in rdlogmanager(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -24149,3 +24149,6 @@
|
||||
* Added a 'rivendell' service for firewalld(1).
|
||||
2023-05-22 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Removed 'conf/firewalld.sh'.
|
||||
2023-05-22 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Restored blank circle to the clock display when no clock event is
|
||||
selected in the 'Edit Clock' dialog in rdlogmanager(1).
|
||||
|
@@ -599,7 +599,17 @@ void EditClock::UpdateClock(int line)
|
||||
p->setBrush(Qt::black);
|
||||
p->setFont(*edit_title_font);
|
||||
|
||||
if(line>=0) {
|
||||
if(line<0) {
|
||||
//
|
||||
// Pie Circle
|
||||
//
|
||||
p->translate(map->width()/2,map->height()/2);
|
||||
p->rotate(-90.0);
|
||||
int size_x=map->width()-2*PIE_X_MARGIN;
|
||||
int size_y=map->height()-2*PIE_X_MARGIN;
|
||||
p->drawArc(-size_x/2,-size_y/2,size_x,size_y,0,5760);
|
||||
}
|
||||
else {
|
||||
//
|
||||
// Title
|
||||
//
|
||||
|
Reference in New Issue
Block a user