mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
CR feedback
lame mistake - it is always the error branches that get you.
This commit is contained in:
parent
c40aadfea4
commit
dc47c5fc0c
3 changed files with 3 additions and 7 deletions
|
@ -583,7 +583,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
|||
Model::setAbstractViewStateInterface(this); // The model class will sometimes need to know view state details from us
|
||||
|
||||
// TODO: This is temporary, while developing
|
||||
FingerprintUtils::getMachineFingerprint();
|
||||
fingerprint::getMachineFingerprint();
|
||||
// End TODO
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
static const QString FALLBACK_FINGERPRINT_KEY = "fallbackFingerprint";
|
||||
|
||||
QUuid FingerprintUtils::getMachineFingerprint() {
|
||||
QUuid fingerprint::getMachineFingerprint() {
|
||||
|
||||
QString uuidString;
|
||||
|
||||
|
@ -56,7 +56,6 @@ QUuid FingerprintUtils::getMachineFingerprint() {
|
|||
|
||||
if (FAILED(hres)) {
|
||||
qDebug() << "Failed to initialize WbemLocator";
|
||||
return uuidString;
|
||||
}
|
||||
|
||||
// Connect to WMI through the IWbemLocator::ConnectServer method
|
||||
|
@ -79,7 +78,6 @@ QUuid FingerprintUtils::getMachineFingerprint() {
|
|||
if (FAILED(hres)) {
|
||||
pLoc->Release();
|
||||
qDebug() << "Failed to connect to WMI";
|
||||
return uuidString;
|
||||
}
|
||||
|
||||
// Set security levels on the proxy
|
||||
|
@ -98,7 +96,6 @@ QUuid FingerprintUtils::getMachineFingerprint() {
|
|||
pSvc->Release();
|
||||
pLoc->Release();
|
||||
qDebug() << "Failed to set security on proxy blanket";
|
||||
return uuidString;
|
||||
}
|
||||
|
||||
// Use the IWbemServices pointer to grab the Win32_BIOS stuff
|
||||
|
@ -114,7 +111,6 @@ QUuid FingerprintUtils::getMachineFingerprint() {
|
|||
pSvc->Release();
|
||||
pLoc->Release();
|
||||
qDebug() << "query to get Win32_ComputerSystemProduct info";
|
||||
return uuidString;
|
||||
}
|
||||
|
||||
// Get the SerialNumber from the Win32_BIOS data
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <QString>
|
||||
#include <QUuid>
|
||||
|
||||
namespace FingerprintUtils {
|
||||
namespace fingerprint {
|
||||
QUuid getMachineFingerprint();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue