1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

Preferences: Change to QDialog

This commit is contained in:
David Rosca 2018-02-09 17:49:32 +01:00
parent 7670c7df90
commit 68bee4ba8f
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
3 changed files with 4 additions and 5 deletions

View File

@ -93,7 +93,7 @@ static QString createLanguageItem(const QString &lang)
} }
Preferences::Preferences(BrowserWindow* window) Preferences::Preferences(BrowserWindow* window)
: QWidget() : QDialog(window)
, ui(new Ui::Preferences) , ui(new Ui::Preferences)
, m_window(window) , m_window(window)
, m_autoFillManager(0) , m_autoFillManager(0)

View File

@ -1,6 +1,5 @@
/* ============================================================ /* ============================================================
* Falkon - Qt web browser * Falkon - Qt web browser
* Copyright (C) 2010-2017 David Rosca <nowrep@gmail.com>
* Copyright (C) 2010-2018 David Rosca <nowrep@gmail.com> * Copyright (C) 2010-2018 David Rosca <nowrep@gmail.com>
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
@ -20,7 +19,7 @@
#define PREFERENCES_H #define PREFERENCES_H
#include <QUrl> #include <QUrl>
#include <QWidget> #include <QDialog>
#include <QPointer> #include <QPointer>
#include "qzcommon.h" #include "qzcommon.h"
@ -39,7 +38,7 @@ class PluginsManager;
class DesktopNotification; class DesktopNotification;
class ThemeManager; class ThemeManager;
class FALKON_EXPORT Preferences : public QWidget class FALKON_EXPORT Preferences : public QDialog
{ {
Q_OBJECT Q_OBJECT

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>Preferences</class> <class>Preferences</class>
<widget class="QWidget" name="Preferences"> <widget class="QDialog" name="Preferences">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>