mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 14:43:30 +02:00
2022-05-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlibrary(1) that caused the disk free space gauge to be disabled. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
f90acb48eb
commit
2f4ccff00d
@ -23065,3 +23065,6 @@
|
|||||||
2022-05-11 Fred Gleason <fredg@paravelsystems.com>
|
2022-05-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Updated the 'Managing the Current User with RDLogin' chapter of
|
* Updated the 'Managing the Current User with RDLogin' chapter of
|
||||||
the Operations Guide.
|
the Operations Guide.
|
||||||
|
2022-05-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a regression in rdlibrary(1) that caused the disk free space
|
||||||
|
gauge to be disabled.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Disk Gauge Widget for RDLibrary.
|
// Disk Gauge Widget for RDLibrary.
|
||||||
//
|
//
|
||||||
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include <rd.h>
|
#include <rd.h>
|
||||||
#include <rdapplication.h>
|
#include <rdapplication.h>
|
||||||
|
|
||||||
#include <rdaudiostore.h>
|
#include <rdaudiostore.h>
|
||||||
|
|
||||||
#include "disk_gauge.h"
|
#include "disk_gauge.h"
|
||||||
@ -47,14 +46,9 @@ DiskGauge::DiskGauge(int samp_rate,int chans,QWidget *parent)
|
|||||||
disk_space_label->setAlignment(Qt::AlignCenter);
|
disk_space_label->setAlignment(Qt::AlignCenter);
|
||||||
disk_space_label->setDisabled(true);
|
disk_space_label->setDisabled(true);
|
||||||
|
|
||||||
/*
|
|
||||||
update();
|
|
||||||
*/
|
|
||||||
|
|
||||||
disk_timer=new QTimer(this);
|
disk_timer=new QTimer(this);
|
||||||
disk_timer->setSingleShot(true);
|
disk_timer->setSingleShot(true);
|
||||||
connect(disk_timer,SIGNAL(timeout()),this,SLOT(update()));
|
connect(disk_timer,SIGNAL(timeout()),this,SLOT(update()));
|
||||||
disk_timer->start(100);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Disk Gauge Widget for RDLibrary.
|
// Disk Gauge Widget for RDLibrary.
|
||||||
//
|
//
|
||||||
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@ -23,12 +23,12 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <qlabel.h>
|
#include <QLabel>
|
||||||
#include <qprogressbar.h>
|
#include <QProgressBar>
|
||||||
|
|
||||||
#include <rdwidget.h>
|
#include <rdwidget.h>
|
||||||
|
|
||||||
#define DISK_GAUGE_UPDATE_INTERVAL 60000
|
#define DISK_GAUGE_UPDATE_INTERVAL 360000
|
||||||
|
|
||||||
class DiskGauge : public RDWidget
|
class DiskGauge : public RDWidget
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// The Library Utility for Rivendell.
|
// The Library Utility for Rivendell.
|
||||||
//
|
//
|
||||||
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||||
//
|
//
|
||||||
// This program is free software; you can redistribute it and/or modify
|
// 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
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@ -315,6 +315,7 @@ void MainWidget::userData()
|
|||||||
}
|
}
|
||||||
|
|
||||||
SetCaption(rda->ripc()->user());
|
SetCaption(rda->ripc()->user());
|
||||||
|
disk_gauge->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user