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 RCC_DIR = $$BUILD_DIR/rcc
UI_DIR = $$BUILD_DIR/ui UI_DIR = $$BUILD_DIR/ui
QMAKE_CXXFLAGS += -std=c++11
win32 { win32 {
RC_FILE = resources/win/OpenBoard.rc RC_FILE = resources/win/OpenBoard.rc
CONFIG += qaxcontainer CONFIG += qaxcontainer

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

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

Loading…
Cancel
Save