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:
@@ -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;
|
||||
}
|
||||
|
@@ -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);
|
||||
|
@@ -8,7 +8,6 @@
|
||||
#include <QPainter>
|
||||
#include <QTextBlock>
|
||||
#include <QDebug>
|
||||
#include <QApplication>
|
||||
|
||||
#include "lrscripthighlighter.h"
|
||||
|
||||
|
Reference in New Issue
Block a user