Skip to content

Commit

Permalink
added : get plugins option
Browse files Browse the repository at this point in the history
  • Loading branch information
ksharindam committed May 20, 2022
1 parent 32eb05e commit e7c1b56
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <QDebug>

#define PROG_NAME "PhotoQuick"
#define PROG_VERSION "4.11.0"
#define PROG_VERSION "4.12.0"
#define COPYRIGHT_YEAR "2017-2021"
#define AUTHOR_NAME "Arindam Chaudhuri"
#define AUTHOR_EMAIL "[email protected]"
Expand Down
10 changes: 10 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <QBuffer>
#include <cmath>
#include <QImageWriter>
#include <QDesktopServices>
#include <QUrl>


Expand Down Expand Up @@ -250,6 +251,7 @@ Window:: loadPlugins()
}
}
}
menu_dict["Info"]->addAction("Get Plugins", this, SLOT(getPlugins()));
menu_dict["Info"]->addAction("Check for Update", this, SLOT(checkForUpdate()));
menu_dict["Info"]->addAction("About PhotoQuick", this, SLOT(showAbout()));
}
Expand Down Expand Up @@ -1285,6 +1287,14 @@ Window:: checkForUpdate()
dialog->exec();
}

void
Window:: getPlugins()
{
QDesktopServices::openUrl(QUrl("https://github.com/ksharindam/photoquick-plugins/releases/latest"));
}



void
Window:: closeEvent(QCloseEvent *ev)
{
Expand Down
1 change: 1 addition & 0 deletions src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public slots:
void lensDistort();
// info menu
void imageInfo();
void getPlugins();
void checkForUpdate();
void showAbout();
// file and view options
Expand Down
4 changes: 2 additions & 2 deletions src/version_info.rc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <winver.h>

#define PROG_VERSION "4.10.0"
#define FILE_VERSION 4,10,0,0
#define PROG_VERSION "4.12.0"
#define FILE_VERSION 4,12,0,0

IDI_ICON1 ICON "../data/photoquick.ico"

Expand Down
2 changes: 1 addition & 1 deletion windows/PhotoQuick.nsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; HM NIS Edit Wizard helper defines
!define PROG_NAME "PhotoQuick"
!define PROG_VERSION "4.10.6"
!define PROG_VERSION "4.12.0"
!define PROG_PUBLISHER "Arindamsoft"
!define PROG_ICON "photoquick.ico"
!define PROG_EXEC "photoquick.exe"
Expand Down

0 comments on commit e7c1b56

Please sign in to comment.