Commit 2dbb7761 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Merge branch 'Plasma/5.14'

parents 8a00e497 fca1c2f2
......@@ -117,8 +117,8 @@ void OutputConfig::initUi()
mRotation = new QComboBox(this);
QIcon previewIcon = QIcon::fromTheme(QStringLiteral("view-preview"));
QPixmap previewPixmap = previewIcon.pixmap(mRotation->iconSize());
QIcon previewRotatedCounterClockwise = QIcon(previewPixmap.transformed(QMatrix(0.0, 1.0, 1.0, 0.0, 0.0, 0.0)));
QIcon previewRotatedClockwise = QIcon(previewPixmap.transformed(QMatrix(0.0, -1.0, -1.0, 0.0, 0.0, 0.0)));
QIcon previewRotatedCounterClockwise = QIcon(previewPixmap.transformed(QMatrix(0.0, -1.0, 1.0, 0.0, 0.0, 0.0)));
QIcon previewRotatedClockwise = QIcon(previewPixmap.transformed(QMatrix(0.0, 1.0, -1.0, 0.0, 0.0, 0.0)));
QIcon previewRotatedUpSideDown = QIcon(previewPixmap.transformed(QMatrix(-1.0, 0.0, 0.0, -1.0, 0.0, 0.0)));
mRotation->addItem(previewIcon, i18n("No Rotation"), KScreen::Output::None);
mRotation->addItem(previewRotatedClockwise, i18n("90° Clockwise"), KScreen::Output::Right);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment