mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-08 12:56:23 +03:00
60312f2c83
This feature isn't really that useful in practice, so let's remove it. (Other browsers haven't had this action for years either.)
30 lines
600 B
C++
30 lines
600 B
C++
/*
|
|
* Copyright (c) 2022, Filiph Sandström <filiph.sandstrom@filfatstudios.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <QDialog>
|
|
#include <QFormLayout>
|
|
#include <QLineEdit>
|
|
#include <QMainWindow>
|
|
#include <QPushButton>
|
|
|
|
#pragma once
|
|
|
|
class SettingsDialog : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
explicit SettingsDialog(QMainWindow* window);
|
|
|
|
void save();
|
|
|
|
virtual void closeEvent(QCloseEvent*) override;
|
|
|
|
private:
|
|
QFormLayout* m_layout;
|
|
QPushButton* m_ok_button { nullptr };
|
|
QLineEdit* m_new_tab_page { nullptr };
|
|
QMainWindow* m_window { nullptr };
|
|
};
|