summaryrefslogtreecommitdiff
path: root/client/Dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/Dialog.cpp')
-rw-r--r--client/Dialog.cpp7
1 files changed, 6 insertions, 1 deletions
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("</b></font>");
}
+ else if (staticProxyLine[j].speed > cfg->StaticProxySpeedLowCrucial)
+ {
+ btnStr = QString("<font color=\"orange\"><b>") +
+ QString::number(speed, 'f', 3) +
+ QString("</b></font>");
+ }
else
{
btnStr = QString("<font color=\"red\"><b>") +
@@ -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();