diff --git a/Sankore_3.1.pro b/Sankore_3.1.pro index 722a9f79..91996b09 100644 --- a/Sankore_3.1.pro +++ b/Sankore_3.1.pro @@ -110,7 +110,7 @@ win32 { QMAKE_CXXFLAGS_RELEASE += /Od \ /Zi QMAKE_LFLAGS_RELEASE += /DEBUG - UB_LIBRARY.path = DESTDIR + UB_LIBRARY.path = $$DESTDIR UB_I18N.path = $$DESTDIR/i18n UB_ETC.path = $$DESTDIR UB_THIRDPARTY_INTERACTIVE.path = $$DESTDIR/library diff --git a/src/board/UBBoardController.h b/src/board/UBBoardController.h index f53dcbd7..0ddb0412 100644 --- a/src/board/UBBoardController.h +++ b/src/board/UBBoardController.h @@ -41,7 +41,7 @@ class UBBoardPaletteManager; class UBBoardController : public QObject { - Q_OBJECT; + Q_OBJECT public: UBBoardController(UBMainWindow *mainWindow); diff --git a/src/board/UBBoardPaletteManager.h b/src/board/UBBoardPaletteManager.h index 187f0736..1432ad0e 100644 --- a/src/board/UBBoardPaletteManager.h +++ b/src/board/UBBoardPaletteManager.h @@ -36,7 +36,7 @@ class UBMainWindow; class UBBoardPaletteManager : public QObject { - Q_OBJECT; + Q_OBJECT public: UBBoardPaletteManager(QWidget* container, UBBoardController* controller); diff --git a/src/desktop/UBDesktopAnnotationController.cpp b/src/desktop/UBDesktopAnnotationController.cpp index ca70f989..3af00596 100644 --- a/src/desktop/UBDesktopAnnotationController.cpp +++ b/src/desktop/UBDesktopAnnotationController.cpp @@ -855,7 +855,11 @@ void UBDesktopAnnotationController::updateMask(bool bTransparent) void UBDesktopAnnotationController::refreshMask() { if(mIsFullyTransparent - || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Selector) + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Selector + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Eraser + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Pointer + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Pen + || UBDrawingController::drawingController()->stylusTool() == UBStylusTool::Marker) { updateMask(true); } diff --git a/src/frameworks/UBPlatformUtils_linux.cpp b/src/frameworks/UBPlatformUtils_linux.cpp index da99dd74..a3fb372c 100644 --- a/src/frameworks/UBPlatformUtils_linux.cpp +++ b/src/frameworks/UBPlatformUtils_linux.cpp @@ -210,7 +210,6 @@ const KEYBT RUSSIAN_LOCALE [] = /* ю Ю */ KEYBT(0x44e, XK_Cyrillic_yu, 0x42e, XK_Cyrillic_YU), /* . , */ KEYBT(0x2e, 0x2c)}; - const KEYBT FRENCH_LOCALE[] = { /* ? ? */ KEYBT(0xb2, XK_twosuperior, 0xb2, XK_twosuperior), /* & 1 */ KEYBT(0x26, 0x31), @@ -263,7 +262,6 @@ const KEYBT FRENCH_LOCALE[] = { /* : / */ KEYBT(0x3a, 0x2f), /* ! ? */ KEYBT(0x21, 0xa7)}; - const KEYBT GERMAN_LOCALE[] = { /* ^ ? */ KEYBT(0x5f, 0xb0), /* 1 ! */ KEYBT(0x31, 0x21), @@ -333,4 +331,4 @@ void UBPlatformUtils::destroyKeyboardLayouts() delete keyboardLayouts[i]; delete [] keyboardLayouts; keyboardLayouts = NULL; -} \ No newline at end of file +}