mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +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)
|
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
|
// 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);
|
const QFile dllQFile(dllFile);
|
||||||
if (!dllQFile.exists())
|
if (!dllQFile.exists())
|
||||||
{
|
{
|
||||||
@@ -198,7 +198,7 @@ namespace BlackMisc
|
|||||||
CWinDllUtils::DLLInfo CWinDllUtils::getDllInfo(const QString &dllFile)
|
CWinDllUtils::DLLInfo CWinDllUtils::getDllInfo(const QString &dllFile)
|
||||||
{
|
{
|
||||||
Q_UNUSED(dllFile);
|
Q_UNUSED(dllFile);
|
||||||
DLLInfo result = {};
|
DLLInfo result;
|
||||||
result.errorMsg = QString("Only works on Windows");
|
result.errorMsg = QString("Only works on Windows");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ namespace BlackMisc
|
|||||||
QString productVersionName; //!< version and name
|
QString productVersionName; //!< version and name
|
||||||
QString productName; //!< product name
|
QString productName; //!< product name
|
||||||
QString originalFilename; //!< original filename
|
QString originalFilename; //!< original filename
|
||||||
QString fullFilename; //!< full filename
|
QString fullFilename; //!< full filename and path
|
||||||
|
|
||||||
//! Product or file version
|
//! Product or file version
|
||||||
const QString &productOrFileVersion() const
|
const QString &productOrFileVersion() const
|
||||||
|
|||||||
Reference in New Issue
Block a user