mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Setting fixed width of site address on site info dialog
This commit is contained in:
parent
edf8b7bbae
commit
cbf4a9813a
@ -161,6 +161,12 @@
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>460</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
|
@ -243,6 +243,15 @@ void WebView::iconChanged()
|
||||
emit siteIconChanged();
|
||||
}
|
||||
|
||||
QIcon WebView::siteIcon()
|
||||
{
|
||||
if (!m_siteIcon.isNull())
|
||||
return m_siteIcon;
|
||||
if (!icon().isNull())
|
||||
return icon();
|
||||
return LocationBar::icon(url());
|
||||
}
|
||||
|
||||
void WebView::linkHovered(const QString &link, const QString &title, const QString &content)
|
||||
{
|
||||
Q_UNUSED(title);
|
||||
|
@ -53,7 +53,7 @@ public:
|
||||
WebPage* webPage() const;
|
||||
QString getIp() { return m_currentIp; }
|
||||
QLabel* animationLoading(int index, bool addMovie);
|
||||
QIcon siteIcon() { return (m_siteIcon.isNull() ? icon() : m_siteIcon); }
|
||||
QIcon siteIcon();
|
||||
void addNotification(QWidget* notif);
|
||||
bool hasRss() { return !m_rss.isEmpty(); }
|
||||
QList<QPair<QString,QString> > getRss() { return m_rss; }
|
||||
|
Loading…
Reference in New Issue
Block a user