Move application strings into separate namespace
Them being in the overlay controller required them to be static, which forces the compiler to give them a memory location at compile time. They also don't really fit into the overlaycontroller.
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
// application namespace
|
||||
namespace advsettings
|
||||
{
|
||||
constexpr const char* OverlayController::applicationVersionString;
|
||||
|
||||
QSettings* OverlayController::_appSettings = nullptr;
|
||||
|
||||
OverlayController::OverlayController( bool desktopMode,
|
||||
@@ -1035,7 +1033,7 @@ void OverlayController::RotateCollisionBounds( float angle, bool commit )
|
||||
|
||||
QString OverlayController::getVersionString()
|
||||
{
|
||||
return QString( applicationVersionString );
|
||||
return QString( application_strings::applicationVersionString );
|
||||
}
|
||||
|
||||
QUrl OverlayController::getVRRuntimePathUrl()
|
||||
|
||||
Reference in New Issue
Block a user