mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
libs: de-virtualize FavIconsModulePrivate destructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5f6c75eee2
commit
83a8cd1cf1
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,8 @@ static QString iconNameFromURL(const KUrl &iconURL)
|
|||
|
||||
struct FavIconsModulePrivate
|
||||
{
|
||||
virtual ~FavIconsModulePrivate() { delete config; }
|
||||
FavIconsModulePrivate() : config(nullptr) { }
|
||||
~FavIconsModulePrivate() { delete config; }
|
||||
|
||||
struct DownloadInfo
|
||||
{
|
||||
|
@ -90,6 +91,7 @@ struct FavIconsModulePrivate
|
|||
bool isHost;
|
||||
QByteArray iconData;
|
||||
};
|
||||
|
||||
QString makeIconName(const DownloadInfo& download, const KUrl& iconURL)
|
||||
{
|
||||
QString iconName (QLatin1String("favicons/"));
|
||||
|
|
Loading…
Add table
Reference in a new issue