master
Marc Wäckerlin 16 years ago
parent 56c94548c0
commit 45f5a6f2d4
  1. 2
      proxyface/gui/proxy.hxx
  2. 6
      qmake.pro

@ -65,6 +65,7 @@ class Proxy: public QDialog, private Ui::Proxy {
public Q_SLOTS: public Q_SLOTS:
void on__save_clicked(bool=false) { void on__save_clicked(bool=false) {
QSettings s("SwissSign", "ProxySettings");
s.setValue("default-type", _type->currentIndex()); s.setValue("default-type", _type->currentIndex());
s.setValue("default-server", _url->text()); s.setValue("default-server", _url->text());
s.setValue("default-port", _port->value()); s.setValue("default-port", _port->value());
@ -72,6 +73,7 @@ class Proxy: public QDialog, private Ui::Proxy {
} }
void on__clear_clicked(bool=false) { void on__clear_clicked(bool=false) {
QSettings s("SwissSign", "ProxySettings");
s.clear(); s.clear();
_type->setCurrentIndex(0); _type->setCurrentIndex(0);
_url->setText(""); _url->setText("");

@ -3,10 +3,11 @@ win32 {
QMAKE_LIBS += winhttp.a QMAKE_LIBS += winhttp.a
} }
unix { unix {
QMAKE_LIBS += proxy dl QMAKE_LIBS += -lproxy -ldl
QMAKE_LIBDIR += /usr/lib32
} }
macx { macx {
QMAKE_LIBS += proxy dl QMAKE_LIBS += -lproxy -ldl
QMAKE_INCDIR += /opt/local/include QMAKE_INCDIR += /opt/local/include
QMAKE_LIBDIR += /opt/local/lib QMAKE_LIBDIR += /opt/local/lib
CONFIG += x86 CONFIG += x86
@ -18,4 +19,3 @@ HEADERS = proxyface/unix.hxx proxyface/windoze.hxx \
CONFIG += release CONFIG += release
QT += network QT += network
TEMPLATE = lib TEMPLATE = lib
TARGET = proxyface
Loading…
Cancel
Save