Clang formatting
This commit is contained in:
+12
-12
@@ -137,22 +137,22 @@ __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
QString GetAccountUsername() {
|
QString GetAccountUsername() {
|
||||||
Service::Account::ProfileManager manager;
|
Service::Account::ProfileManager manager;
|
||||||
const auto current_user = manager.GetUser(Settings::values.current_user);
|
const auto current_user = manager.GetUser(Settings::values.current_user);
|
||||||
ASSERT(current_user);
|
ASSERT(current_user);
|
||||||
Service::Account::ProfileBase profile;
|
Service::Account::ProfileBase profile;
|
||||||
if (!manager.GetProfileBase(*current_user, profile)) {
|
if (!manager.GetProfileBase(*current_user, profile)) {
|
||||||
return {};
|
return {};
|
||||||
}
|
|
||||||
|
|
||||||
const auto text = Common::StringFromFixedZeroTerminatedBuffer(
|
|
||||||
reinterpret_cast<const char*>(profile.username.data()), profile.username.size());
|
|
||||||
return QString::fromStdString(text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const auto text = Common::StringFromFixedZeroTerminatedBuffer(
|
||||||
|
reinterpret_cast<const char*>(profile.username.data()), profile.username.size());
|
||||||
|
return QString::fromStdString(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // Anonymous namespace
|
||||||
|
|
||||||
constexpr int default_mouse_timeout = 2500;
|
constexpr int default_mouse_timeout = 2500;
|
||||||
|
|
||||||
constexpr u64 DLC_BASE_TITLE_ID_MASK = 0xFFFFFFFFFFFFE000;
|
constexpr u64 DLC_BASE_TITLE_ID_MASK = 0xFFFFFFFFFFFFE000;
|
||||||
|
|||||||
Reference in New Issue
Block a user