diff options
| author | 2023-10-01 22:15:28 -0400 | |
|---|---|---|
| committer | 2023-10-01 22:15:28 -0400 | |
| commit | 6c7facd13e4344053c53bd32a5e33a6e50600252 (patch) | |
| tree | ba6b6a5d8ac0c6dc36270c608a587fe5d7ba335c /src/qt5gtk2-style/qgtk2painter.cpp | |
| parent | f6a38af56389f290d57c5ea3a9c423b533981bc9 (diff) | |
| parent | b4aec80fb155d11cde43352cf92090ee593807c5 (diff) | |
Update upstream source from tag 'upstream/1.0'
Update to upstream version '1.0'
with Debian dir 0bdfe9149271113ac8a7852913f4f52aa7b53672
Diffstat (limited to 'src/qt5gtk2-style/qgtk2painter.cpp')
| -rw-r--r-- | src/qt5gtk2-style/qgtk2painter.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/qt5gtk2-style/qgtk2painter.cpp b/src/qt5gtk2-style/qgtk2painter.cpp index fc7ebca..6f44c34 100644 --- a/src/qt5gtk2-style/qgtk2painter.cpp +++ b/src/qt5gtk2-style/qgtk2painter.cpp @@ -1,6 +1,6 @@ /*************************************************************************** * Copyright (C) 2015 The Qt Company Ltd. * - * Copyright (C) 2016-2022 Ilya Kotov, forkotov02@ya.ru * + * Copyright (C) 2016-2023 Ilya Kotov, forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -56,11 +56,10 @@ QPixmap QGtk2Painter::renderTheme(uchar *bdata, uchar *wdata, const QRect &rect) if (m_hflipped || m_vflipped) { return QPixmap::fromImage(converted.mirrored(m_hflipped, m_vflipped)); - } else { - // on raster graphicssystem we need to do a copy here, because - // we intend to deallocate the qimage bits shortly after... - return QPixmap::fromImage(converted.copy()); } + // on raster graphicssystem we need to do a copy here, because + // we intend to deallocate the qimage bits shortly after... + return QPixmap::fromImage(converted.copy()); } // This macro is responsible for painting any GtkStyle painting function onto a QPixmap |
