1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:07:36 +00:00

Ladybird: Add setting for page to open on new tab

This commit is contained in:
Federico Guerinoni 2023-01-21 00:30:05 +01:00 committed by Andrew Kaster
parent 80da16e54a
commit 17e9db4fa1
6 changed files with 26 additions and 9 deletions

View file

@ -13,13 +13,16 @@
namespace Browser {
class Settings {
class Settings : public QObject {
public:
Settings(QObject* parent);
Settings();
QString homepage();
void set_homepage(QString const& homepage);
QString new_tab_page();
void set_new_tab_page(QString const& page);
private:
QSettings* m_qsettings;
};