Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
3fb1e75c
Commit
3fb1e75c
authored
Aug 28, 2012
by
shibakaneki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Did a better implementation of this fix
parent
3ef2b223
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
UBDesktopAnnotationController.cpp
src/desktop/UBDesktopAnnotationController.cpp
+2
-2
UBDesktopPalette.cpp
src/desktop/UBDesktopPalette.cpp
+0
-3
UBDesktopPalette.h
src/desktop/UBDesktopPalette.h
+0
-2
No files found.
src/desktop/UBDesktopAnnotationController.cpp
View file @
3fb1e75c
...
@@ -109,8 +109,8 @@ UBDesktopAnnotationController::UBDesktopAnnotationController(QObject *parent)
...
@@ -109,8 +109,8 @@ 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
(
UBApplication
::
mainWindow
->
actionPointer
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
onToolClicked
()));
connect
(
mDesktopPalette
,
SIGNAL
(
arrowClick
ed
()),
this
,
SLOT
(
onToolClicked
()));
connect
(
UBApplication
::
mainWindow
->
actionSelector
,
SIGNAL
(
trigger
ed
()),
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
()));
...
...
src/desktop/UBDesktopPalette.cpp
View file @
3fb1e75c
...
@@ -39,9 +39,6 @@ UBDesktopPalette::UBDesktopPalette(QWidget *parent)
...
@@ -39,9 +39,6 @@ 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
()));
connect
(
UBApplication
::
mainWindow
->
actionSelector
,
SIGNAL
(
triggered
()),
this
,
SIGNAL
(
arrowClicked
()));
if
(
UBPlatformUtils
::
hasVirtualKeyboard
())
if
(
UBPlatformUtils
::
hasVirtualKeyboard
())
actions
<<
UBApplication
::
mainWindow
->
actionVirtualKeyboard
;
actions
<<
UBApplication
::
mainWindow
->
actionVirtualKeyboard
;
...
...
src/desktop/UBDesktopPalette.h
View file @
3fb1e75c
...
@@ -33,8 +33,6 @@ class UBDesktopPalette : public UBActionPalette
...
@@ -33,8 +33,6 @@ class UBDesktopPalette : public UBActionPalette
void
customClick
();
void
customClick
();
void
windowClick
();
void
windowClick
();
void
screenClick
();
void
screenClick
();
void
pointerClick
();
void
arrowClicked
();
#ifdef Q_WS_X11
#ifdef Q_WS_X11
void
refreshMask
();
void
refreshMask
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment