mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 08:01:13 +02:00
2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Disk Gauge Widget for RDLibrary.
|
||||
//
|
||||
// (C) Copyright 2002-2019 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
|
||||
@@ -18,14 +18,9 @@
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#include <sys/vfs.h>
|
||||
|
||||
#include <qfontmetrics.h>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdapplication.h>
|
||||
|
||||
#include <rdconfig.h>
|
||||
#include <rdaudiostore.h>
|
||||
|
||||
#include "disk_gauge.h"
|
||||
@@ -57,6 +52,7 @@ DiskGauge::DiskGauge(int samp_rate,int chans,QWidget *parent)
|
||||
*/
|
||||
|
||||
disk_timer=new QTimer(this);
|
||||
disk_timer->setSingleShot(true);
|
||||
connect(disk_timer,SIGNAL(timeout()),this,SLOT(update()));
|
||||
disk_timer->start(100);
|
||||
}
|
||||
@@ -95,7 +91,7 @@ void DiskGauge::update()
|
||||
}
|
||||
delete conv;
|
||||
disk_timer->stop();
|
||||
disk_timer->start(DISK_GAUGE_UPDATE_INTERVAL,true);
|
||||
disk_timer->start(DISK_GAUGE_UPDATE_INTERVAL);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user