Fix build error about shadowing bCreateTitleBar in SWindow

[CL 2537409 by Graeme Thornton in Main branch]
This commit is contained in:
Graeme Thornton
2015-05-05 10:34:36 -04:00
committed by Graeme.Thornton@epicgames.com
parent 70ec27fd5a
commit a85656b6ea
2 changed files with 3 additions and 3 deletions

View File

@@ -302,7 +302,7 @@ void SWindow::Construct(const FArguments& InArgs)
// Window visibility is currently driven by whether the window is interactive.
this->Visibility = TAttribute<EVisibility>::Create( TAttribute<EVisibility>::FGetter::CreateRaw(this, &SWindow::GetWindowVisibility) );
this->ConstructWindowInternals( bCreateTitleBar );
this->ConstructWindowInternals();
this->SetContent( InArgs._Content.Widget );
}
@@ -375,7 +375,7 @@ FVector2D SWindow::ComputeWindowSizeForContent( FVector2D ContentSize )
return ContentSize + FVector2D(0, SWindowDefs::DefaultTitleBarSize);
}
void SWindow::ConstructWindowInternals( const bool bCreateTitleBar )
void SWindow::ConstructWindowInternals()
{
ForegroundColor = FCoreStyle::Get().GetSlateColor("DefaultForeground");

View File

@@ -951,7 +951,7 @@ private:
virtual
void ConstructWindowInternals( const bool bCreateTitleBar );
void ConstructWindowInternals();
/**
* @return EVisibility::Visible if we are showing this viewports content. EVisibility::Hidden otherwise (we hide the content during full screen overlays)