From d66fa76b0f2898d3f4832985f418a879a5c05391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=89=E5=AE=87=E6=B8=85=E9=9F=B3?= <2422523675@qq.com> Date: Sat, 27 Jan 2024 09:48:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E8=BF=9B=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QtNovelDesc.pro.user | 2 +- libSplitView/splitpanel.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/QtNovelDesc.pro.user b/QtNovelDesc.pro.user index 641d6ed..b77e475 100644 --- a/QtNovelDesc.pro.user +++ b/QtNovelDesc.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/libSplitView/splitpanel.cpp b/libSplitView/splitpanel.cpp index 3d6e3f0..a0546d8 100644 --- a/libSplitView/splitpanel.cpp +++ b/libSplitView/splitpanel.cpp @@ -29,10 +29,10 @@ void DragSplitter::mouseMoveEvent(QMouseEvent *event) //===================================================== -SplitPanel::SplitPanel(ViewBase *first, ViewBase *next, ViewRes *parent) +SplitPanel::SplitPanel(ResManager *mgr, ViewBase *a, ViewBase *b, SplitType split, ViewRes *parent) : QWidget(parent->widget()), parent_inst(parent) { - this->split_member = std::make_tuple(first, next); + this->split_member = std::make_tuple(a, b); this->split_info_value = std::make_tuple(SplitType::SPLIT_H, 0.5, 8); }