diff --git a/.github/workflows/build_project.yml b/.github/workflows/build_project.yml new file mode 100644 index 00000000..76a982f1 --- /dev/null +++ b/.github/workflows/build_project.yml @@ -0,0 +1,10 @@ +name: Build project +on: [push, pull_request, fork] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: building + run: bash CodeKeeper/build.sh 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");