Fixed QMouseEvent::globalPos() warning

This commit is contained in:
Uwe Kindler
2021-01-02 20:29:59 +01:00
parent fe1d9a493f
commit 8d14068df7
4 changed files with 22 additions and 17 deletions
-11
View File
@@ -26,17 +26,6 @@
using namespace ads;
/**
* Helper function to create an SVG icon
*/
static QIcon svgIcon(const QString& File)
{
// This is a workaround, because in item views SVG icons are not
// properly scaled and look blurry or pixelate
QIcon SvgIcon(File);
SvgIcon.addPixmap(SvgIcon.pixmap(92));
return SvgIcon;
}
CMainWindow::CMainWindow(QWidget *parent)
: QMainWindow(parent)