diff --git a/konsole/konsole.cpp b/konsole/konsole.cpp index 89ea3c0d1..f8653d66a 100644 --- a/konsole/konsole.cpp +++ b/konsole/konsole.cpp @@ -1721,7 +1721,7 @@ void Konsole::pixmap_menu_activated(int item, TEWidget* tewidget) float sy = (float)tewidget->size().height() / pm.height(); QMatrix matrix; matrix.scale( sx, sy ); - tewidget->setBackgroundPixmap(pm.xForm( matrix )); + tewidget->setBackgroundPixmap(pm.transformed( matrix )); } break; default: // oops diff --git a/konsole/konsole_part.cpp b/konsole/konsole_part.cpp index 7e92c6140..edf4bae57 100644 --- a/konsole/konsole_part.cpp +++ b/konsole/konsole_part.cpp @@ -824,7 +824,7 @@ void konsolePart::pixmap_menu_activated(int item) float sy = (float)te->size().height() / pm.height(); QMatrix matrix; matrix.scale( sx, sy ); - te->setBackgroundPixmap(pm.xForm( matrix )); + te->setBackgroundPixmap(pm.transformed( matrix )); } break; default: // oops diff --git a/settings/schemaeditor.cpp b/settings/schemaeditor.cpp index 07e85a79e..6c80e4eb5 100644 --- a/settings/schemaeditor.cpp +++ b/settings/schemaeditor.cpp @@ -200,7 +200,7 @@ void SchemaEditor::previewLoaded(bool l) if (l) { QMatrix mat; pix = - spix->xForm(mat. + spix->transformed(mat. scale(180.0 / spix->QPixmap::width(), 100.0 / spix->QPixmap::height())); kdDebug(0) << "Loaded" << endl;