Skip to content

Commit

Permalink
Fix version number (issue #147)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanna-kn committed Jul 1, 2024
1 parent 4f77b4a commit 5abd83d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion qalculate-qt.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 5.1.0
VERSION = 5.2.0
isEmpty(PREFIX) {
PREFIX = /usr/local
}
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ parts:

qalculate-qt:
source: https://github.com/Qalculate/qalculate-qt/releases/download/v5.2.0/qalculate-qt-5.2.0.tar.gz
source-checksum: sha512/3be960c68318ab48d1998442690a84f0ed749767c44db0f4c16de9c7a35b76e85d459f827b9627609a3005084cb926cd8b8e96ff920edd26572ddaedc2b24bc8
source-checksum: sha512/b06121bfaf8acedb690f4f4249aedeb33a4db0cfa09dc02ada4f0bc86dc5fccdf75b351fd16bdd34a2364c0a60e23cac13d3978615dfbf3078cd998ba6c3a5da
plugin: qmake
build-snaps:
- kde-frameworks-5-core18-sdk
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int main(int argc, char **argv) {
#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))
app.setDesktopFileName("io.github.Qalculate.qalculate-qt");
#endif
app.setApplicationVersion("5.1.0");
app.setApplicationVersion("5.2.0");
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/qalculateqtsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ void QalculateQtSettings::loadPreferences() {
max_plot_time = 5;

preferences_version[0] = 5;
preferences_version[1] = 1;
preferences_version[1] = 2;
preferences_version[2] = 0;

if(file) {
Expand Down
2 changes: 1 addition & 1 deletion src/qalculatewindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2758,7 +2758,7 @@ void QalculateWindow::onInsertTextRequested(std::string str) {
expressionEdit->blockCompletion(false);
}
void QalculateWindow::showAbout() {
QMessageBox::about(this, tr("About %1").arg(qApp->applicationDisplayName()), QString("<font size=+2><b>%1 v%4</b></font><br><font size=+1>%2</font><br><font size=+1><i><a href=\"https://qalculate.github.io/\">https://qalculate.github.io/</a></i></font><br><br>Copyright © 2003-2007, 2008, 2016-2023 Hanna Knutsson<br>%3").arg(qApp->applicationDisplayName()).arg(tr("Powerful and easy to use calculator")).arg(tr("License: GNU General Public License version 2 or later")).arg(qApp->applicationVersion()));
QMessageBox::about(this, tr("About %1").arg(qApp->applicationDisplayName()), QString("<font size=+2><b>%1 v%4</b></font><br><font size=+1>%2</font><br><font size=+1><i><a href=\"https://qalculate.github.io/\">https://qalculate.github.io/</a></i></font><br><br>Copyright © 2003-2007, 2008, 2016-2024 Hanna Knutsson<br>%3").arg(qApp->applicationDisplayName()).arg(tr("Powerful and easy to use calculator")).arg(tr("License: GNU General Public License version 2 or later")).arg(qApp->applicationVersion()));
}
void QalculateWindow::onInsertValueRequested(int i) {
expressionEdit->blockCompletion();
Expand Down

0 comments on commit 5abd83d

Please sign in to comment.