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
bc9a6693
Commit
bc9a6693
authored
Oct 21, 2011
by
shibakaneki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolved cache issue 336
parent
698ec0e2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
UBDesktopAnnotationController.cpp
src/desktop/UBDesktopAnnotationController.cpp
+0
-1
UBCachePropertiesWidget.cpp
src/gui/UBCachePropertiesWidget.cpp
+16
-11
No files found.
src/desktop/UBDesktopAnnotationController.cpp
View file @
bc9a6693
...
@@ -918,7 +918,6 @@ void UBDesktopAnnotationController::updateMask(bool bTransparent)
...
@@ -918,7 +918,6 @@ void UBDesktopAnnotationController::updateMask(bool bTransparent)
// UBApplication::boardController->paletteManager()->mDesktopRightPalette
// UBApplication::boardController->paletteManager()->mDesktopRightPalette
if
(
UBApplication
::
boardController
->
paletteManager
()
->
rightPalette
()
->
isVisible
())
if
(
UBApplication
::
boardController
->
paletteManager
()
->
rightPalette
()
->
isVisible
())
{
{
qDebug
()
<<
">>>>>> Drawing the mask for the right palette"
;
p
.
drawRect
(
UBApplication
::
boardController
->
paletteManager
()
->
rightPalette
()
->
geometry
().
x
(),
p
.
drawRect
(
UBApplication
::
boardController
->
paletteManager
()
->
rightPalette
()
->
geometry
().
x
(),
UBApplication
::
boardController
->
paletteManager
()
->
rightPalette
()
->
geometry
().
y
(),
UBApplication
::
boardController
->
paletteManager
()
->
rightPalette
()
->
geometry
().
y
(),
UBApplication
::
boardController
->
paletteManager
()
->
rightPalette
()
->
width
(),
UBApplication
::
boardController
->
paletteManager
()
->
rightPalette
()
->
width
(),
...
...
src/gui/UBCachePropertiesWidget.cpp
View file @
bc9a6693
...
@@ -205,6 +205,8 @@ UBCachePropertiesWidget::~UBCachePropertiesWidget()
...
@@ -205,6 +205,8 @@ UBCachePropertiesWidget::~UBCachePropertiesWidget()
void
UBCachePropertiesWidget
::
onCloseClicked
()
void
UBCachePropertiesWidget
::
onCloseClicked
()
{
{
if
(
!
mCaches
.
empty
())
{
// Remove the current cache from the list
// Remove the current cache from the list
mCaches
.
remove
(
mCaches
.
indexOf
(
mpCurrentCache
));
mCaches
.
remove
(
mCaches
.
indexOf
(
mpCurrentCache
));
...
@@ -216,6 +218,9 @@ void UBCachePropertiesWidget::onCloseClicked()
...
@@ -216,6 +218,9 @@ void UBCachePropertiesWidget::onCloseClicked()
{
{
emit
cacheListEmpty
();
emit
cacheListEmpty
();
}
}
emit
hideTab
(
name
());
}
}
}
void
UBCachePropertiesWidget
::
updateCacheColor
(
QColor
color
)
void
UBCachePropertiesWidget
::
updateCacheColor
(
QColor
color
)
...
@@ -321,8 +326,8 @@ void UBCachePropertiesWidget::updateCurrentCache()
...
@@ -321,8 +326,8 @@ void UBCachePropertiesWidget::updateCurrentCache()
// If we fall here, that means:
// If we fall here, that means:
// 1 - that this page has no cache
// 1 - that this page has no cache
// 2 - we
do not on Board pag
e
// 2 - we
are not in Board mod
e
// 3 - we
in board mode, but show desktop (as really - d
esktop mode)
// 3 - we
are in Board mode, but show desktop (as really - D
esktop mode)
emit
hideTab
(
name
());
emit
hideTab
(
name
());
mpCurrentCache
=
NULL
;
mpCurrentCache
=
NULL
;
setDisabled
(
true
);
setDisabled
(
true
);
...
...
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