From d94c3a48a06c83f899a299f6a263473abf62c0f4 Mon Sep 17 00:00:00 2001 From: Nighty3098 <154594695+Nighty3098@users.noreply.github.com> Date: Fri, 19 Apr 2024 17:42:09 +0700 Subject: [PATCH 1/4] Create build_project.yml --- .github/workflows/build_project.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/build_project.yml diff --git a/.github/workflows/build_project.yml b/.github/workflows/build_project.yml new file mode 100644 index 00000000..c7bccc5b --- /dev/null +++ b/.github/workflows/build_project.yml @@ -0,0 +1,10 @@ +name: Run clang-format Linter +on: [push, pull_request, fork] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: building + run: bash build.sh From 3fe059625b0516d9815d7eb1f7fb7993f178b504 Mon Sep 17 00:00:00 2001 From: Nighty3098 <154594695+Nighty3098@users.noreply.github.com> Date: Fri, 19 Apr 2024 17:42:48 +0700 Subject: [PATCH 2/4] Update build_project.yml --- .github/workflows/build_project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_project.yml b/.github/workflows/build_project.yml index c7bccc5b..5ccb4a86 100644 --- a/.github/workflows/build_project.yml +++ b/.github/workflows/build_project.yml @@ -7,4 +7,4 @@ jobs: steps: - name: building - run: bash build.sh + run: bash CodeKeeper/build.sh From 43b5d931309b852542e2f07cac94197bb9652fcf Mon Sep 17 00:00:00 2001 From: Nighty3098 <154594695+Nighty3098@users.noreply.github.com> Date: Fri, 19 Apr 2024 17:44:03 +0700 Subject: [PATCH 3/4] Update build_project.yml --- .github/workflows/build_project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_project.yml b/.github/workflows/build_project.yml index 5ccb4a86..76a982f1 100644 --- a/.github/workflows/build_project.yml +++ b/.github/workflows/build_project.yml @@ -1,4 +1,4 @@ -name: Run clang-format Linter +name: Build project on: [push, pull_request, fork] jobs: From 7d7eec7057980fc4139137c24eebe2b2eeb676e4 Mon Sep 17 00:00:00 2001 From: Nighty3098 Date: Fri, 19 Apr 2024 17:53:30 +0700 Subject: [PATCH 4/4] Fix --- src/CodeKeeper/.gitignore | 1 + src/CodeKeeper/keeperFunc/projectsFunc.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CodeKeeper/.gitignore b/src/CodeKeeper/.gitignore index 4a0b530a..324d4361 100644 --- a/src/CodeKeeper/.gitignore +++ b/src/CodeKeeper/.gitignore @@ -2,6 +2,7 @@ # ---------------------------------------------------------------------------- *~ +*.db *.autosave *.a *.core diff --git a/src/CodeKeeper/keeperFunc/projectsFunc.cpp b/src/CodeKeeper/keeperFunc/projectsFunc.cpp index 5f89a527..723b7ab1 100644 --- a/src/CodeKeeper/keeperFunc/projectsFunc.cpp +++ b/src/CodeKeeper/keeperFunc/projectsFunc.cpp @@ -72,7 +72,7 @@ void MainWindow::openProject(QListWidget *listWidget, QListWidgetItem *item) QDialog dialog(this); dialog.setFixedSize(400, 460); dialog.setWindowTitle(tr("Edit project")); - dialog.setWindowFlags(Qt::Window | Qt::FramelessWindowHint); + dialog->setWindowFlags(windowFlags() | Qt::FramelessWindowHint); QString data = item->text(); QStringList splitData = data.split("\n");