fixed background pixmap bug
This commit is contained in:
parent
b441ee120b
commit
eada72fae3
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: WorkspaceNameTool.cc,v 1.2 2003/08/11 20:39:05 fluxgen Exp $
|
// $Id: WorkspaceNameTool.cc,v 1.3 2003/08/12 00:22:11 fluxgen Exp $
|
||||||
|
|
||||||
#include "WorkspaceNameTool.hh"
|
#include "WorkspaceNameTool.hh"
|
||||||
|
|
||||||
|
@ -109,6 +109,7 @@ void WorkspaceNameTool::renderTheme() {
|
||||||
} else {
|
} else {
|
||||||
m_pixmap = m_screen.imageControl().renderImage(width(), height(),
|
m_pixmap = m_screen.imageControl().renderImage(width(), height(),
|
||||||
m_theme.texture());
|
m_theme.texture());
|
||||||
|
m_button.setBackgroundPixmap(m_pixmap);
|
||||||
}
|
}
|
||||||
if (tmp)
|
if (tmp)
|
||||||
m_screen.imageControl().removeImage(tmp);
|
m_screen.imageControl().removeImage(tmp);
|
||||||
|
|
Loading…
Reference in a new issue