update version number

This commit is contained in:
Roy Qu 2022-01-08 13:51:34 +08:00
parent 04b18b1648
commit 7a22bacd0c
2 changed files with 3 additions and 2 deletions

View File

@ -13,9 +13,11 @@ isEmpty(PREFIX) {
PREFIX = /usr/local
}
APP_VERSION = beta.0.12.8
DEFINES += PREFIX=\\\"$${PREFIX}\\\"
DEFINES += APP_NAME=\\\"$${APP_NAME}\\\"
DEFINES += REDPANDA_CPP_VERSION=\\\"beta.0.12.7\\\"
DEFINES += REDPANDA_CPP_VERSION=\\\"$${APP_VERSION}\\\"
linux: {
LINUX_DISTRO = $$system(cat /etc/issue)

View File

@ -478,7 +478,6 @@ void MainWindow::updateCompileActions()
Editor * e = mEditorList->getEditor();
if (e) {
FileType fileType = getFileType(e->filename());
qDebug()<<(int)fileType<<e->isNew();
if (fileType == FileType::CSource
|| fileType == FileType::CppSource || e->isNew())
editorCanCompile = true;