[LyX/master] #10346 Amend change 01b2893f8b to make Qt4 compilable

Stephan Witt switt at lyx.org
Thu Aug 13 05:47:19 UTC 2020


commit 4ddff8fe284ea12a085445da15ea99899664fd86
Author: Stephan Witt <switt at lyx.org>
Date:   Thu Aug 13 08:12:56 2020 +0200

    #10346 Amend change 01b2893f8b to make Qt4 compilable
---
 src/frontends/qt/GuiAbout.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt/GuiAbout.cpp b/src/frontends/qt/GuiAbout.cpp
index 25c3a68..3c874df 100644
--- a/src/frontends/qt/GuiAbout.cpp
+++ b/src/frontends/qt/GuiAbout.cpp
@@ -274,8 +274,7 @@ void GuiAbout::on_showDirUserPB_clicked()
 
 void GuiAbout::on_versionCopyPB_clicked()
 {
-	QClipboard *clipboard = QGuiApplication::clipboard();
-	clipboard->setText(version());
+	qApp->clipboard()->setText(version());
 }
 
 


More information about the lyx-cvs mailing list