update version number

This commit is contained in:
Roy Qu 2022-12-05 12:04:48 +08:00
parent 65b059af89
commit 650e3b407c
5 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ isEmpty(APP_NAME) {
} }
isEmpty(APP_VERSION) { isEmpty(APP_VERSION) {
APP_VERSION = 2.5 APP_VERSION = 2.6
} }
macos: { macos: {

View File

@ -556,7 +556,8 @@ void Editor::focusOutEvent(QFocusEvent *event)
{ {
SynEdit::focusOutEvent(event); SynEdit::focusOutEvent(event);
//pMainWindow->updateClassBrowserForEditor(nullptr); //pMainWindow->updateClassBrowserForEditor(nullptr);
pMainWindow->functionTip()->hide(); if (!pMainWindow->isQuitting())
pMainWindow->functionTip()->hide();
} }
void Editor::keyPressEvent(QKeyEvent *event) void Editor::keyPressEvent(QKeyEvent *event)

View File

@ -406,10 +406,8 @@ int main(int argc, char *argv[])
} }
int retCode = app.exec(); int retCode = app.exec();
QString configDir = pSettings->dirs().config();
// save settings
// settings->compilerSets().saveSets();
if (mainWindow.shouldRemoveAllSettings()) { if (mainWindow.shouldRemoveAllSettings()) {
QString configDir = pSettings->dirs().config();
settings.release(); settings.release();
delete pSettings; delete pSettings;
QDir dir(configDir); QDir dir(configDir);

View File

@ -437,6 +437,7 @@ MainWindow::MainWindow(QWidget *parent)
MainWindow::~MainWindow() MainWindow::~MainWindow()
{ {
mQuitting=true;
delete mProjectProxyModel; delete mProjectProxyModel;
delete mEditorList; delete mEditorList;
delete ui; delete ui;

View File

@ -33,7 +33,7 @@ RedPandaIDE.depends += redpanda-git-askpass
APP_NAME = RedPandaCPP APP_NAME = RedPandaCPP
APP_VERSION = 2.5 APP_VERSION = 2.6
linux: { linux: {
isEmpty(PREFIX) { isEmpty(PREFIX) {