mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-13 22:04:36 -06:00
Ide: Fix unused variable warning raised by clang on macOS.
git-svn-id: svn://ultimatepp.org/upp/trunk@12851 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
30ab7b9544
commit
da1662298b
1 changed files with 3 additions and 1 deletions
|
|
@ -323,8 +323,8 @@ void Ide::IdeSetBar()
|
|||
void Ide::SetupBars()
|
||||
{
|
||||
ClearFrames();
|
||||
|
||||
int r = HorzLayoutZoom(170);
|
||||
int l = HorzLayoutZoom(350);
|
||||
#ifdef PLATFORM_COCOA
|
||||
int tcy = max(mainconfiglist.GetStdSize().cy + DPI(2), toolbar.GetStdHeight());
|
||||
bararea.Add(toolbar.HSizePos(0, r).VCenterPos(tcy));
|
||||
|
|
@ -333,6 +333,8 @@ void Ide::SetupBars()
|
|||
AddFrame(bararea);
|
||||
toolbar.NoTransparent();
|
||||
#else
|
||||
int l = HorzLayoutZoom(350);
|
||||
|
||||
menubar.Transparent();
|
||||
if(toolbar_in_row) {
|
||||
toolbar.SetFrame(NullFrame());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue