From 195b5560ab1b39eb9d99815814e49f376bb4c571 Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Sun, 21 Feb 2021 13:55:22 +1100 Subject: KristallTextBrowser: replace typographer quotes with ASCII when copying text Text which is selected in a kristalltextbrowser now has it's quotes replaced with ASCII quotes. This was done as copying fancy quotes is seen as an annoyance to most people. It is still possible to copy these quotes, if they are the only thing in the selection (whitespace also allowed, and commas, and fullstops) --- src/browsertab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/browsertab.cpp') diff --git a/src/browsertab.cpp b/src/browsertab.cpp index e05ac38..78e43b6 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -1747,7 +1747,7 @@ void BrowserTab::on_text_browser_customContextMenuRequested(const QPoint pos) menu.addSeparator(); } else { menu.addAction("Copy to clipboard", [this]() { - this->ui->text_browser->copy(); + this->ui->text_browser->betterCopy(); }, QKeySequence("Ctrl+C")); } -- cgit v1.2.3