kcms/screenedges: Remove commented out dead code

This commit is contained in:
ivan tkachenko 2023-10-16 21:47:47 +03:00
parent b0d8979178
commit c5d692843f
No known key found for this signature in database
GPG key ID: AF72731B7C654CB3

View file

@ -91,8 +91,6 @@ bool Monitor::event(QEvent *event)
void Monitor::checkSize()
{
QRect contentsRect = previewRect();
// int w = 151;
// int h = 115;
m_view->setGeometry(contentsRect);
m_scene->setSceneRect(QRect(QPoint(0, 0), contentsRect.size()));
const int x2 = (contentsRect.width() - 20) / 2;