diff --git a/src/CodeKeeper/keeperFunc/projectsFunc.cpp b/src/CodeKeeper/keeperFunc/projectsFunc.cpp index 735ffee9..7cb3b54f 100644 --- a/src/CodeKeeper/keeperFunc/projectsFunc.cpp +++ b/src/CodeKeeper/keeperFunc/projectsFunc.cpp @@ -115,7 +115,7 @@ void MainWindow::openProject(QListWidget* listWidget, QListWidgetItem* item) { if (item) { QDialog dialog(this); - dialog.setFixedWidth(570); + dialog.setFixedWidth(600); dialog.setMinimumHeight(500); dialog.setWindowTitle(tr("Project")); dialog.setWindowFlags(windowFlags() | Qt::FramelessWindowHint); diff --git a/src/CodeKeeper/settingsFunc/functional.cpp b/src/CodeKeeper/settingsFunc/functional.cpp index 216b9eb8..ceca50c2 100644 --- a/src/CodeKeeper/settingsFunc/functional.cpp +++ b/src/CodeKeeper/settingsFunc/functional.cpp @@ -134,9 +134,9 @@ void SettingsWindow::checkUpdates(bool isShow) connect(whatsNewButton, &QPushButton::clicked, [&]() { QDesktopServices::openUrl(QUrl("https://github.com/Nighty3098/CodeKeeper/compare/" + secondLastRelease + "..." + currentAppVersion + "")); }); - - if (!isShow && newAppVersion == currentAppVersion) { } - else { + + if (!isShow && newAppVersion == currentAppVersion) { + } else { dialog.exec(); } } diff --git a/src/CodeKeeper/settingswindow.cpp b/src/CodeKeeper/settingswindow.cpp index 0e8ca7da..54c643f5 100644 --- a/src/CodeKeeper/settingswindow.cpp +++ b/src/CodeKeeper/settingswindow.cpp @@ -92,7 +92,7 @@ SettingsWindow::SettingsWindow(QWidget* parent) : QMainWindow { parent } urlToRepo->setAlignment(Qt::AlignHCenter | Qt::AlignTop); versionInfo = new QLabel(); - versionInfo->setText("0.1.9"); + versionInfo->setText("0.2.0"); versionInfo->setAlignment(Qt::AlignCenter); checkUpdatesBtn = new QPushButton(