Initialize member variables

This commit is contained in:
Chocobo1
2023-05-07 15:16:32 +08:00
parent 29c05ed3e8
commit 73134d5f4d
29 changed files with 49 additions and 64 deletions

View File

@@ -42,9 +42,9 @@ struct SearchResult
{
QString fileName;
QString fileUrl;
qlonglong fileSize;
qlonglong nbSeeders;
qlonglong nbLeechers;
qlonglong fileSize = 0;
qlonglong nbSeeders = 0;
qlonglong nbLeechers = 0;
QString siteUrl;
QString descrLink;
};

View File

@@ -52,7 +52,7 @@ struct PluginInfo
QString url;
QStringList supportedCategories;
Path iconPath;
bool enabled;
bool enabled = false;
};
class SearchDownloadHandler;