增加了scientific mode#25
Conversation
issue:执行等号操作后,再执行backspace会报错(debug状态,编译后未发现此问题。)
| #include <QLabel> | ||
| #include <QDebug> | ||
|
|
||
| #define ENABLE_SCIENTIFIC; //open scientific mode |
|
原来scientific mode只开发了一半,
#ifdef ENABLE_SCIENTIFIC m_tbMenu->addAction(m_simpleAction); m_tbMenu->addAction(m_scAction); #endif
如果不define ENABLE_SCIENTIFIC,在title的菜单里不会出现两种模式的切换
…------------------ 原始邮件 ------------------
发件人: "Gary Wang"<notifications@github.com>;
发送时间: 2019年6月16日(星期天) 下午3:57
收件人: "linuxdeepin/deepin-calculator"<deepin-calculator@noreply.github.com>;
抄送: "Kyle Mong"<mqyshop@vip.qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [linuxdeepin/deepin-calculator] 增加了scientific mode (#25)
@BLumia commented on this pull request.
In mainwindow.cpp:
@@ -28,6 +28,8 @@ #include <QLabel> #include <QDebug> +#define ENABLE_SCIENTIFIC; //open scientific mode
这个 define 看上去并没有用到?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
|
cc @wangjia12 |
|
科学计算器为下阶段开发计划 |
|
After our internal analysis, this PR cannot be integrated into the main line because the code is too different. If you need to merge, please adapt the latest code. |
|
TAG Bot New tag: 6.0.1 |
|
TAG Bot New tag: 6.0.2 |
|
TAG Bot New tag: 6.5.0 |
|
TAG Bot New tag: 6.5.1 |
|
TAG Bot New tag: 6.5.2 |
|
TAG Bot New tag: 6.5.3 |
|
TAG Bot New tag: 6.5.4 |
|
TAG Bot New tag: 6.5.5 |
|
TAG Bot New tag: 6.5.6 |
|
TAG Bot New tag: 6.5.7 |
|
TAG Bot New tag: 6.5.8 |
|
TAG Bot New tag: 6.5.9 |
|
TAG Bot New tag: 6.5.10 |
|
TAG Bot New tag: 6.5.11 |
|
TAG Bot New tag: 6.5.12 |
|
TAG Bot New tag: 6.5.13 |
|
TAG Bot New tag: 6.5.14 |
|
TAG Bot New tag: 6.5.15 |
|
TAG Bot New tag: 6.5.16 |
|
TAG Bot New tag: 6.5.17 |
|
TAG Bot New tag: 6.5.18 |
|
TAG Bot New tag: 6.5.19 |
|
TAG Bot New tag: 6.5.20 |
|
TAG Bot New tag: 6.5.21 |
|
TAG Bot New tag: 6.5.22 |
|
TAG Bot New tag: 6.5.23 |
|
TAG Bot New tag: 6.5.24 |
|
TAG Bot New tag: 6.5.25 |
|
TAG Bot New tag: 6.5.26 |
|
TAG Bot New tag: 6.5.27 |
|
TAG Bot New tag: 6.5.29 |
|
TAG Bot New tag: 6.5.30 |
|
TAG Bot New tag: 6.5.31 |
|
TAG Bot New tag: 6.5.32 |
|
TAG Bot New tag: 6.5.33 |
将struct KeyDescription和keyDescription[]的声明移至buttons.h,原basickeypad.h和scientifickeypad.h中的相关声明被删除。
问题:在调试时,执行完等号操作再执行backspace会出错,但是编译后未发现此问题。