* add .desktop suffix to files if they have not

* remove frameshape
This commit is contained in:
arcan1s
2014-11-19 15:04:10 +03:00
parent 5f37a9d8c7
commit 2c3c575493
2 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,7 @@ QString GraphicalItem::getImage(const float value)
QGraphicsView *view = new QGraphicsView(scene);
view->setStyleSheet(QString("background: transparent"));
view->setContentsMargins(0, 0, 0, 0);
view->setFrameShape(QFrame::NoFrame);
view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
view->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
view->resize(_width + 5.0, _height + 5.0);