From a7518f5452715a4d131bd395727a7a64dbfe9bd4 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 31 Aug 2025 19:38:22 +0200 Subject: [PATCH] Fixing Python module builds --- src/edt/edt/edtShapeService.cc | 3 +-- src/edt/edt/edtUtils.cc | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/edt/edt/edtShapeService.cc b/src/edt/edt/edtShapeService.cc index 96da82079..28dc9a461 100644 --- a/src/edt/edt/edtShapeService.cc +++ b/src/edt/edt/edtShapeService.cc @@ -22,13 +22,12 @@ #include "edtShapeService.h" #include "edtMainService.h" -#include "layLayoutViewBase.h" +#include "layLayoutView.h" #include "dbEdgeProcessor.h" #include "dbPolygonTools.h" #if defined(HAVE_QT) # include "edtPropertiesPages.h" -# include "layLayoutView.h" # include "layTipDialog.h" # include "layEditorOptionsPages.h" #endif diff --git a/src/edt/edt/edtUtils.cc b/src/edt/edt/edtUtils.cc index e3e6d543a..1e16bb31f 100644 --- a/src/edt/edt/edtUtils.cc +++ b/src/edt/edt/edtUtils.cc @@ -32,6 +32,7 @@ #include "layLayoutViewBase.h" #include "layEditable.h" #include "tlException.h" +#include "tlInternational.h" #if defined(HAVE_QT) # include @@ -102,7 +103,7 @@ set_or_request_current_layer (lay::LayoutViewBase *view, const db::LayerProperti view->init_layer_properties (lpn); { - db::Transaction transaction (! view->manager ()->transacting () ? view->manager () : 0, tl::to_string (QObject::tr ("Create new layer"))); + db::Transaction transaction (! view->manager ()->transacting () ? view->manager () : 0, tl::to_string (tr ("Create new layer"))); lay::LayerPropertiesConstIterator lpi = lay::LayerPropertiesConstIterator (& view->insert_layer (view->end_layers (), lpn)); if (make_current) {