Skip to content

Commit

Permalink
Format using git-clang
Browse files Browse the repository at this point in the history
  • Loading branch information
jerdoe committed Nov 10, 2023
1 parent 605f64e commit 7593b85
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/core/control/Control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ void Control::selectAlpha(OpacityFeature feature) {
OpacityToolbox* opacityToolbox = this->win->getOpacityToolbox();

auto dlg = xoj::popup::PopupWindowWrapper<xoj::popup::SelectOpacityDialog>(
gladeSearchPath, alpha, feature, [&th = *toolHandler, &opatb = *opacityToolbox](int alpha, OpacityFeature feature) {
gladeSearchPath, alpha, feature,
[&th = *toolHandler, &opatb = *opacityToolbox](int alpha, OpacityFeature feature) {
switch (feature) {
case OPACITY_FILL_PEN:
th.setPenFill(alpha);
Expand Down
4 changes: 2 additions & 2 deletions src/core/gui/toolbarMenubar/ColorToolItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

#include <gtk/gtk.h> // for GtkWidget

#include "util/Color.h" // for Color
#include "util/NamedColor.h" // for NamedColor
#include "util/Color.h" // for Color
#include "util/NamedColor.h" // for NamedColor

#include "AbstractToolItem.h"

Expand Down
6 changes: 3 additions & 3 deletions src/core/gui/toolbarMenubar/ToolMenuHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#include "control/settings/Settings.h" // for Settings
#include "gui/GladeGui.h" // for GladeGui
#include "gui/GladeSearchpath.h"
#include "gui/MainWindow.h" // for Main...
#include "gui/OpacityToolbox.h" // for OpacityToolbox
#include "gui/ToolitemDragDrop.h" // for ToolitemDragDrop
#include "gui/MainWindow.h" // for Main...
#include "gui/OpacityToolbox.h" // for OpacityToolbox
#include "gui/ToolitemDragDrop.h" // for ToolitemDragDrop
#include "gui/menus/popoverMenus/PageTypeSelectionPopover.h"
#include "gui/toolbarMenubar/model/ColorPalette.h" // for Palette
#include "gui/toolbarMenubar/model/ToolbarData.h" // for ToolbarData
Expand Down

0 comments on commit 7593b85

Please sign in to comment.