removed a couple of warning

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 2f7521beb1
commit de84e0f9b8
  1. 2
      OpenBoard.pro
  2. 2
      src/domain/UBGraphicsDelegateFrame.h
  3. 2
      src/domain/UBGraphicsTextItem.cpp

@ -102,6 +102,8 @@ MOC_DIR = $$BUILD_DIR/moc
RCC_DIR = $$BUILD_DIR/rcc
UI_DIR = $$BUILD_DIR/ui
QMAKE_CXXFLAGS += -std=c++11
win32 {
RC_FILE = resources/win/OpenBoard.rc
CONFIG += qaxcontainer

@ -68,7 +68,6 @@ class UBGraphicsDelegateFrame: public QGraphicsRectItem, public QObject
QList<UBGraphicsDelegateFrame *> getLinkedFrames();
private:
qreal mTitleBarHeight;
QRectF bottomRightResizeGripRect() const;
QRectF bottomResizeGripRect() const;
QRectF leftResizeGripRect() const;
@ -143,6 +142,7 @@ class UBGraphicsDelegateFrame: public QGraphicsRectItem, public QObject
bool mResizing;
bool mMirroredXAtStart;
bool mMirroredYAtStart;
qreal mTitleBarHeight;
QList<UBGraphicsDelegateFrame *> mLinkedFrames;
};

@ -44,9 +44,9 @@ QColor UBGraphicsTextItem::lastUsedTextColor;
UBGraphicsTextItem::UBGraphicsTextItem(QGraphicsItem * parent)
: QGraphicsTextItem(parent)
, UBGraphicsItem()
, mTypeTextHereLabel(tr("<Type Text Here>"))
, mMultiClickState(0)
, mLastMousePressTime(QTime::currentTime())
, mTypeTextHereLabel(tr("<Type Text Here>"))
, isActivatedTextEditor(true)
{
setDelegate(new UBGraphicsTextItemDelegate(this, 0));

Loading…
Cancel
Save