equal
deleted
inserted
replaced
625 m_colorButtons[topLeft.row()]->setStyleSheet(QString("background: %1").arg(model->item(topLeft.row())->data().value<QColor>().name())); |
625 m_colorButtons[topLeft.row()]->setStyleSheet(QString("background: %1").arg(model->item(topLeft.row())->data().value<QColor>().name())); |
626 } |
626 } |
627 |
627 |
628 void PageOptions::onProxyTypeChanged() |
628 void PageOptions::onProxyTypeChanged() |
629 { |
629 { |
630 bool b = cbProxyType->currentIndex() > 1; |
630 bool b = cbProxyType->currentIndex() != NoProxy && cbProxyType->currentIndex() != SystemProxy ; |
631 |
631 |
632 sbProxyPort->setEnabled(b); |
632 sbProxyPort->setEnabled(b); |
633 leProxy->setEnabled(b); |
633 leProxy->setEnabled(b); |
634 leProxyLogin->setEnabled(b); |
634 leProxyLogin->setEnabled(b); |
635 leProxyPassword->setEnabled(b); |
635 leProxyPassword->setEnabled(b); |