剔除无用代码

This commit is contained in:
codeboss 2024-02-10 15:19:55 +08:00
parent 480b259a53
commit 1ef520d6e8
2 changed files with 13 additions and 4 deletions

View File

@ -136,10 +136,6 @@ void SplitWindow::doRetrieve(split_frame::ViewBase *inst)
inst->setParentRes(nullptr);
remains.first->setParentRes(nullptr);
auto awidget = inst->widget()->parent();
auto cwidget = inst->widget()->parentWidget();
auto bwidget = inst->widget()->parent();
setPresentTarget(remains.first);
delete pinst;
}

View File

@ -0,0 +1,13 @@
#pragma once
#include <QtCore/qglobal.h>
#ifndef BUILD_STATIC
# if defined(SPLITVIEW_LIBRARY)
# define SPLITVIEW_EXPORT Q_DECL_EXPORT
# else
# define SPLITVIEW_EXPORT Q_DECL_IMPORT
# endif
#else
# define LIBSPLITVIEW_EXPORT
#endif