Skip to content

Commit

Permalink
Gui: Remove CornerNaviCube from OverlayParams and use directly in Ove…
Browse files Browse the repository at this point in the history
…rlayManager
  • Loading branch information
Rexbas committed Oct 15, 2023
1 parent a1b8a2e commit 5765a0f
Show file tree
Hide file tree
Showing 4 changed files with 207 additions and 258 deletions.
7 changes: 5 additions & 2 deletions src/Gui/OverlayManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,11 @@ class OverlayManager::Private {
h -= tabbar->height();

int naviCubeSize = NaviCube::getNaviCubeSize();
int naviCorner = OverlayParams::getDockOverlayCheckNaviCube() ?
OverlayParams::getCornerNaviCube() : -1;
int naviCorner = OverlayParams::getDockOverlayCheckNaviCube()
? App::GetApplication()
.GetParameterGroupByPath("User parameter:BaseApp/Preferences/NaviCube")
->GetInt("CornerNaviCube", 1)
: -1;

QRect rect;
QRect rectBottom(0,0,0,0);
Expand Down
Loading

0 comments on commit 5765a0f

Please sign in to comment.