0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

windows build fixed

This commit is contained in:
Arin Alexander
2017-11-30 21:23:51 +03:00
parent ff55e10e9d
commit 7e1b3374fe
5 changed files with 60 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ QSettings* ChartItemEditor::settings()
if (m_settings){
return m_settings;
} else {
m_settings = new QSettings("LimeReport",QApplication::applicationName());
m_settings = new QSettings("LimeReport",QCoreApplication::applicationName());
m_ownedSettings = true;
return m_settings;
}

View File

@@ -365,11 +365,9 @@ void BaseDesignIntf::mousePressEvent(QGraphicsSceneMouseEvent *event)
{
if (event->button() == Qt::LeftButton) {
m_resizeDirectionFlags = resizeDirectionFlags(event->pos());
//m_startScenePos = event->scenePos();
m_startPos = pos();
m_oldGeometry = geometry();
QGraphicsItem::mousePressEvent(event);
//QApplication::processEvents();
emit(itemSelected(this));
}
else QGraphicsItem::mousePressEvent(event);

View File

@@ -8,7 +8,6 @@
#include <QPainter>
#include <QTextBlock>
#include <QDebug>
#include <QApplication>
#include "lrscripthighlighter.h"