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

SiteInfo: Change to QDialog

This commit is contained in:
David Rosca 2018-02-09 17:59:06 +01:00
parent f5390ed619
commit d363d58014
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
3 changed files with 7 additions and 7 deletions

View File

@ -37,8 +37,8 @@
#include <QTimer>
#include <QGraphicsPixmapItem>
SiteInfo::SiteInfo(WebView* view)
: QWidget()
SiteInfo::SiteInfo(WebView *view)
: QDialog(view)
, ui(new Ui::SiteInfo)
, m_certWidget(0)
, m_view(view)

View File

@ -1,6 +1,6 @@
/* ============================================================
* Falkon - Qt web browser
* Copyright (C) 2010-2014 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
* it under the terms of the GNU General Public License as published by
@ -21,7 +21,7 @@
#include "qzcommon.h"
#include <QUrl>
#include <QWidget>
#include <QDialog>
namespace Ui
{
@ -34,12 +34,12 @@ class QTreeWidgetItem;
class WebView;
class CertificateInfoWidget;
class FALKON_EXPORT SiteInfo : public QWidget
class FALKON_EXPORT SiteInfo : public QDialog
{
Q_OBJECT
public:
explicit SiteInfo(WebView* view);
explicit SiteInfo(WebView *view);
~SiteInfo();
static bool canShowSiteInfo(const QUrl &url);

View File

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