mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
@@ -93,6 +93,7 @@ PerformanceManagerWindow::PerformanceManagerWindow(MainWindow *mainWindow) :
|
||||
SLOT(PMpickerMoved(const QPoint &)));
|
||||
connect(metricCombo, SIGNAL(currentIndexChanged(int)),
|
||||
this, SLOT(replot()));
|
||||
connect(mainWindow, SIGNAL(configChanged()), this, SLOT(configChanged()));
|
||||
}
|
||||
|
||||
PerformanceManagerWindow::~PerformanceManagerWindow()
|
||||
@@ -101,6 +102,13 @@ PerformanceManagerWindow::~PerformanceManagerWindow()
|
||||
delete sc;
|
||||
}
|
||||
|
||||
void PerformanceManagerWindow::configChanged()
|
||||
{
|
||||
mainWindow->home.remove("stress.cache");
|
||||
days = 0; // force replot
|
||||
replot();
|
||||
}
|
||||
|
||||
void PerformanceManagerWindow::setActive(bool value)
|
||||
{
|
||||
if (value)
|
||||
|
||||
@@ -52,6 +52,7 @@ class PerformanceManagerWindow : public QWidget
|
||||
void PMpickerMoved(const QPoint &pos);
|
||||
void setPMSizeFromSlider();
|
||||
void replot();
|
||||
void configChanged();
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user