Skip to content

Commit

Permalink
more qt6 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
3ll3d00d committed Oct 29, 2024
1 parent 8ba25ea commit b5e76df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/python/model/geq.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def __init__(self, parent: QWidget, idx: int, on_change: Callable[[], None]):
font.setPointSize(10)
self.__idx = idx
self.__geq_frame = QFrame(parent)
self.__geq_frame.setFrameShape(QFrame.StyleMask.StyledPanel)
self.__geq_frame.setFrameShadow(QFrame.StyleMask.Raised)
self.__geq_frame.setFrameShape(QFrame.Shape.StyledPanel)
self.__geq_frame.setFrameShadow(QFrame.Shadow.Raised)
self.__grid_layout = QGridLayout(self.__geq_frame)
title_font = QFont()
title_font.setPointSize(10)
Expand Down
8 changes: 4 additions & 4 deletions src/main/python/model/jriver/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1898,8 +1898,8 @@ def __init__(self, channels_frame: QWidget, name: str, underlying_channels: List
self.__editors: List[WayEditor] = []
self.__visible = True
self.__frame = QFrame(channels_frame)
self.__frame.setFrameShape(QFrame.StyleMask.StyledPanel)
self.__frame.setFrameShadow(QFrame.StyleMask.Raised)
self.__frame.setFrameShape(QFrame.Shape.StyledPanel)
self.__frame.setFrameShadow(QFrame.Shadow.Raised)
self.__layout = QVBoxLayout(self.__frame)
# header
self.__header_layout = QHBoxLayout()
Expand Down Expand Up @@ -2155,8 +2155,8 @@ def __init__(self, parent: QWidget, channel: str, way: int, on_change: Callable[
self.__channel = channel
self.__notify_parent = on_change
self.__frame = QFrame(parent)
self.__frame.setFrameShape(QFrame.StyleMask.StyledPanel)
self.__frame.setFrameShadow(QFrame.StyleMask.Raised)
self.__frame.setFrameShape(QFrame.Shape.StyledPanel)
self.__frame.setFrameShadow(QFrame.Shadow.Raised)
self.__layout = QGridLayout(self.__frame)
self.__bass_managed = False
# header
Expand Down

0 comments on commit b5e76df

Please sign in to comment.