From ec80c67bcfec64177910f39d31c4b20974629096 Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Sun, 25 Mar 2012 22:16:30 +0300 Subject: Three color speed values --- client/Dialog.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'client/Dialog.cpp') diff --git a/client/Dialog.cpp b/client/Dialog.cpp index 169d33e..3e96784 100644 --- a/client/Dialog.cpp +++ b/client/Dialog.cpp @@ -74,6 +74,12 @@ ProxyDialog::ProxyDialog(QWidget *parent): QDialog(parent, Qt::Tool | Qt::Framel QString::number(speed, 'f', 3) + QString(""); } + else if (staticProxyLine[j].speed > cfg->StaticProxySpeedLowCrucial) + { + btnStr = QString("") + + QString::number(speed, 'f', 3) + + QString(""); + } else { btnStr = QString("") + @@ -126,7 +132,6 @@ bool ProxyDialog::event(QEvent* event) { if (event->type() == QEvent::ActivationChange) { - Logger::Debug("Activation change\n"); if(QApplication::activeWindow() != this) { this->close(); -- cgit v1.2.3