Corrected a small issue

preferencesAboutTextFull
shibakaneki 12 years ago
parent af3e7ef5c3
commit a591d30cc6
  1. 1
      src/desktop/UBDesktopAnnotationController.cpp
  2. 2
      src/desktop/UBDesktopPalette.cpp
  3. 1
      src/desktop/UBDesktopPalette.h

@ -109,6 +109,7 @@ UBDesktopAnnotationController::UBDesktopAnnotationController(QObject *parent)
connect(mDesktopPalette, SIGNAL(windowClick()), this, SLOT(onToolClicked())); connect(mDesktopPalette, SIGNAL(windowClick()), this, SLOT(onToolClicked()));
connect(mDesktopPalette, SIGNAL(screenClick()), this, SLOT(screenCapture())); connect(mDesktopPalette, SIGNAL(screenClick()), this, SLOT(screenCapture()));
connect(mDesktopPalette, SIGNAL(screenClick()), this, SLOT(onToolClicked())); connect(mDesktopPalette, SIGNAL(screenClick()), this, SLOT(onToolClicked()));
connect(mDesktopPalette, SIGNAL(pointerClick()), this, SLOT(onToolClicked()));
connect(mDesktopPalette, SIGNAL(maximized()), this, SLOT(onDesktopPaletteMaximized())); connect(mDesktopPalette, SIGNAL(maximized()), this, SLOT(onDesktopPaletteMaximized()));
connect(mDesktopPalette, SIGNAL(minimizeStart(eMinimizedLocation)), this, SLOT(onDesktopPaletteMinimize())); connect(mDesktopPalette, SIGNAL(minimizeStart(eMinimizedLocation)), this, SLOT(onDesktopPaletteMinimize()));

@ -39,6 +39,8 @@ UBDesktopPalette::UBDesktopPalette(QWidget *parent)
actions << UBApplication::mainWindow->actionSelector; actions << UBApplication::mainWindow->actionSelector;
actions << UBApplication::mainWindow->actionPointer; actions << UBApplication::mainWindow->actionPointer;
connect(UBApplication::mainWindow->actionPointer, SIGNAL(triggered()), this, SIGNAL(pointerClick()));
if (UBPlatformUtils::hasVirtualKeyboard()) if (UBPlatformUtils::hasVirtualKeyboard())
actions << UBApplication::mainWindow->actionVirtualKeyboard; actions << UBApplication::mainWindow->actionVirtualKeyboard;

@ -33,6 +33,7 @@ class UBDesktopPalette : public UBActionPalette
void customClick(); void customClick();
void windowClick(); void windowClick();
void screenClick(); void screenClick();
void pointerClick();
#ifdef Q_WS_X11 #ifdef Q_WS_X11
void refreshMask(); void refreshMask();

Loading…
Cancel
Save