|
|
@ -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()))); |
|
|
|