mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 17:55:34 +08:00
refs #910, gcc missing initializer for member
This commit is contained in:
committed by
Mathew Sutcliffe
parent
61dc32e894
commit
389c771c22
@@ -61,7 +61,7 @@ namespace BlackMisc
|
||||
CWinDllUtils::DLLInfo CWinDllUtils::getDllInfo(const QString &dllFile)
|
||||
{
|
||||
// http://stackoverflow.com/questions/940707/how-do-i-programatically-get-the-version-of-a-dll-or-exe-file
|
||||
DLLInfo result = {};
|
||||
DLLInfo result;
|
||||
const QFile dllQFile(dllFile);
|
||||
if (!dllQFile.exists())
|
||||
{
|
||||
@@ -198,7 +198,7 @@ namespace BlackMisc
|
||||
CWinDllUtils::DLLInfo CWinDllUtils::getDllInfo(const QString &dllFile)
|
||||
{
|
||||
Q_UNUSED(dllFile);
|
||||
DLLInfo result = {};
|
||||
DLLInfo result;
|
||||
result.errorMsg = QString("Only works on Windows");
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace BlackMisc
|
||||
QString productVersionName; //!< version and name
|
||||
QString productName; //!< product name
|
||||
QString originalFilename; //!< original filename
|
||||
QString fullFilename; //!< full filename
|
||||
QString fullFilename; //!< full filename and path
|
||||
|
||||
//! Product or file version
|
||||
const QString &productOrFileVersion() const
|
||||
|
||||
Reference in New Issue
Block a user