forked from openkylin/kylin-photo-viewer
fix(bug修复): issuesI64UVQ菜单栏显示位置异常且存在多余的标题栏
This commit is contained in:
parent
50698f8dce
commit
1061332039
|
@ -1,3 +1,12 @@
|
|||
kylin-photo-viewer (1.3.0.3-ok12) yangtze; urgency=medium
|
||||
|
||||
* BUG号:# issues/I64UVQ【看图】当看图窗口上方存在其他窗口时,点击看图窗口标题栏的菜单按钮,菜单栏显示位置异常且存在多余的标题栏
|
||||
* 需求号:无
|
||||
* 其他改动说明:无
|
||||
* 影响域:仅bug修复,无其他影响
|
||||
|
||||
-- zoujunnan <zoujunnan@kylinos.cn> Tue, 03 Jan 2023 18:43:28 +0800
|
||||
|
||||
kylin-photo-viewer (1.3.0.3-ok11) yangtze; urgency=medium
|
||||
|
||||
* BUG号:# issues/I64UTA 【看图】【需求15193】无法复制图片
|
||||
|
|
|
@ -11,7 +11,7 @@ CONFIG += link_pkgconfig
|
|||
VERSION = 1.3.0.3
|
||||
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
||||
##定义一个字符串,可以将版本号数字之后的部分添加进去
|
||||
DEFINES += APP_VERSION_DETAIL=\\\"$$VERSION-ok11\\\"
|
||||
DEFINES += APP_VERSION_DETAIL=\\\"$$VERSION-ok12\\\"
|
||||
|
||||
QMAKE_CXXFLAGS += -g
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ void menuModule::initAction()
|
|||
|
||||
menuButton->setAutoRaise(true);
|
||||
menuButton->setFocusPolicy(Qt::NoFocus);
|
||||
m_menu = new QMenu();
|
||||
m_menu = new QMenu(this);
|
||||
|
||||
QList<QAction *> actions;
|
||||
QAction *actionOpen = new QAction(m_menu);
|
||||
|
|
|
@ -57,10 +57,7 @@ ShowImageWidget::ShowImageWidget(QWidget *parent) : QWidget(parent)
|
|||
this->initConnect();
|
||||
}
|
||||
|
||||
ShowImageWidget::~ShowImageWidget()
|
||||
{
|
||||
delete m_imageMenu;
|
||||
}
|
||||
ShowImageWidget::~ShowImageWidget() {}
|
||||
|
||||
void ShowImageWidget::initConnect()
|
||||
{
|
||||
|
@ -1396,7 +1393,7 @@ void ShowImageWidget::initMenu()
|
|||
m_saveAs = new QAction(tr("Save as"), this);
|
||||
m_signImage = new QAction(tr("Markup"), this);
|
||||
//右键菜单
|
||||
m_imageMenu = new QMenu();
|
||||
m_imageMenu = new QMenu(this);
|
||||
m_imageMenu->addAction(m_copy);
|
||||
// m_imageMenu->addAction(m_reName);
|
||||
// m_imageMenu->addAction(m_setDeskPaper);
|
||||
|
|
Loading…
Reference in New Issue