Skip to content

Commit

Permalink
Current version of Psi+ is 1.5.1669
Browse files Browse the repository at this point in the history
It is based on:
* psi: baf10a80
* plugins: 45e2354
* psimedia: 9fd3307
* resources: 2ef1865
  • Loading branch information
tehnick committed Mar 14, 2024
1 parent 926eefd commit d6e62d4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions src/desktoputil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <QDesktopServices>
#include <QFileInfo>
#include <QProcess>
#include <QRegularExpression>
#include <QSet>
#include <QSettings>
#include <QUrl>
Expand All @@ -33,11 +34,12 @@
#ifdef Q_OS_WIN
QString defaultBrowser()
{
QSettings settings("HKEY_CLASSES_ROOT\\HTTP\\shell\\open\\command", QSettings::NativeFormat);
QString command = settings.value(".").toString();
QRegularExpression rx("\"(.+)\"");
if (rx.indexIn(command) != -1)
return rx.capturedTexts()[1];
QSettings settings("HKEY_CLASSES_ROOT\\HTTP\\shell\\open\\command", QSettings::NativeFormat);
QString command = settings.value(".").toString();
QRegularExpression rx("\"(.+)\"");
auto match = rx.match(command);
if (match.hasMatch())
return match.capturedTexts()[1];
return command;
}
#endif
Expand Down
1 change: 1 addition & 0 deletions src/libpsi/tools/spellchecker/spellhighlighter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "common.h"
#include "spellchecker.h"
#include <QRegularExpression>

SpellHighlighter::SpellHighlighter(QTextDocument *d) : QSyntaxHighlighter(d) { }

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.1668 (2024-03-15, 65572028)
1.5.1669 (2024-03-15, baf10a80)

0 comments on commit d6e62d4

Please sign in to comment.