Skip to content

Commit

Permalink
Dropped using of gio for opening hyperlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
tsujan committed Jun 10, 2024
1 parent b7dcf80 commit 76aa3b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ V1.2.1
---------
* Added a workaround for window deactivation on clicking the tray icon under Wayland.
* Added a workaround for on-the-fly style change of Qt6.
* Dropped using of "gio" for opening hyperlinks.

V1.2.0
---------
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Latest version:

26 May 2024, V1.2.1
10 Jun 2024, V1.2.1

See "ChangeLog" for changes.
2 changes: 1 addition & 1 deletion feathernotes/textedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ void TextEdit::mouseReleaseEvent (QMouseEvent *e)
url = QUrl::fromUserInput (str, "/", QUrl::AssumeLocalFile);
/* QDesktopServices::openUrl() may resort to "xdg-open", which isn't
the best choice. "gio" is always reliable, so we check it first. */
if (!QProcess::startDetached ("gio", QStringList() << "open" << url.toString()))
//if (!QProcess::startDetached ("gio", QStringList() << "open" << url.toString()))
QDesktopServices::openUrl (url);
}
pressPoint_ = QPoint();
Expand Down

0 comments on commit 76aa3b4

Please sign in to comment.