mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 15:59:30 +08:00
@@ -14,7 +14,6 @@ using namespace BlackCore;
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
|
||||
CLoginModeButtons::CLoginModeButtons(QWidget *parent) :
|
||||
QGroupBox(parent),
|
||||
ui(new Ui::CLoginModeButtons)
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKMISC_LOGINMODEBUTTONS_H
|
||||
#define BLACKMISC_LOGINMODEBUTTONS_H
|
||||
#ifndef BLACKGUI_LOGINMODEBUTTONS_H
|
||||
#define BLACKGUI_LOGINMODEBUTTONS_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackcore/network.h"
|
||||
@@ -43,7 +43,6 @@ namespace BlackGui
|
||||
private:
|
||||
QScopedPointer<Ui::CLoginModeButtons> ui;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // guard
|
||||
|
||||
@@ -72,9 +72,3 @@ uint BlackMisc::calculateHash(const QList<int> &values, const char *className)
|
||||
}
|
||||
return calculateHash(list, className);
|
||||
}
|
||||
|
||||
const QString &BlackMisc::localHostNameEnvVariable()
|
||||
{
|
||||
static const QString hostName = QProcessEnvironment::systemEnvironment().value("COMPUTERNAME", QProcessEnvironment::systemEnvironment().value("HOSTNAME"));
|
||||
return hostName;
|
||||
}
|
||||
|
||||
@@ -151,9 +151,6 @@ namespace BlackMisc
|
||||
//! Hash value, but with int list
|
||||
BLACKMISC_EXPORT uint calculateHash(const QList<int> &values, const char *className);
|
||||
|
||||
//! Get local host name env.variable
|
||||
BLACKMISC_EXPORT const QString &localHostNameEnvVariable();
|
||||
|
||||
//! Own implementation of std::make_unique, a C++14 feature not provided by GCC in C++11 mode
|
||||
template<typename T, typename... Args>
|
||||
std::unique_ptr<T> make_unique(Args &&... args)
|
||||
|
||||
Reference in New Issue
Block a user