master
Marc Wäckerlin 14 years ago
parent af85064e94
commit 166391ebde
  1. 8
      swisssurfer/src/browser.hxx

@ -105,10 +105,10 @@ class Browser: public QMainWindow, protected Ui::Browser {
if (!settings || _kiosk) actionSettings->setVisible(false); if (!settings || _kiosk) actionSettings->setVisible(false);
if (_kiosk) { if (_kiosk) {
_menu->hide(); _menu->hide();
actionNew->isEnabled(false); actionNew->setEnabled(false);
actionNew->isVisible(false); actionNew->setVisible(false);
actionNewTab->isEnabled(false); actionNewTab->setEnabled(false);
actionNewTab->isVisible(false); actionNewTab->setVisible(false);
} else { } else {
assert(connect(_url->lineEdit(), SIGNAL(returnPressed()), assert(connect(_url->lineEdit(), SIGNAL(returnPressed()),
SLOT(load()))); SLOT(load())));

Loading…
Cancel
Save