[X2Go-Commits] [x2gokdriveclient] 01/01: revert to sprintf function for correct background in menuframe.cpp.

git-admin at x2go.org git-admin at x2go.org
Thu Oct 14 20:37:05 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdriveclient.

commit 907397e15f36a70769f666c743a665bfbe3ededf
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date:   Thu Oct 14 13:37:00 2021 -0500

    revert to sprintf function for correct background in menuframe.cpp.
---
 debian/changelog | 1 +
 menuframe.cpp    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 605f80a..58f80f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,5 +37,6 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
     - use QTextStream(stderr) instead of qDebug.
     - use Qt::endl and Qt::hex in Qt >= 5.15 and endl and hex otherwise.
     - use KDR_ENDL in destructor.
+    - revert to sprintf function for correct background in menuframe.cpp.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Tue, 04 Jun 2019 11:10:43 +0200
diff --git a/menuframe.cpp b/menuframe.cpp
index a46cd75..a15b0a9 100644
--- a/menuframe.cpp
+++ b/menuframe.cpp
@@ -324,7 +324,7 @@ void MenuFrame::applyStyle()
     QString bgCol;
     QColor col=pal.color(QPalette::Window);
 
-    bgCol.asprintf("rgba(%d,%d,%d,%d)",col.red(), col.green(), col.blue() ,col.alpha()) ;
+    bgCol.sprintf("rgba(%d,%d,%d,%d)",col.red(), col.green(), col.blue() ,col.alpha()) ;
 
     switch(orientation)
     {

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdriveclient.git


More information about the x2go-commits mailing list