Upon popular request, disable the web preview by default. This
feature tends to surprise unwitting new users that just happen
to hover over a questionable link, and the preview's functionality
is limited anyway with today's complex websites.
The web preview can still be enabled explicitly in chatview settings.
Existing configurations are unaffected by this change.
ChatViewSettings(ChatScene *scene);
ChatViewSettings(ChatView *view);
- inline bool showWebPreview() { return localValue("ShowWebPreview", true).toBool(); }
+ inline bool showWebPreview() { return localValue("ShowWebPreview", false).toBool(); }
inline void enableWebPreview(bool enabled) { setLocalValue("ShowWebPreview", enabled); }
/**
<x>0</x>
<y>0</y>
<width>514</width>
- <height>294</height>
+ <height>306</height>
</rect>
</property>
<property name="windowTitle">
<string>Show previews of webpages on URL hover</string>
</property>
<property name="checked">
- <bool>true</bool>
+ <bool>false</bool>
</property>
<property name="defaultValue" stdset="0">
- <bool>true</bool>
+ <bool>false</bool>
</property>
<property name="settingsKey" stdset="0">
<string notr="true">ShowWebPreview</string>