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
0b449cc4
Commit
0b449cc4
authored
Oct 21, 2011
by
shibakaneki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolved cache issue 339
parent
bc9a6693
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
UBCachePropertiesWidget.cpp
src/gui/UBCachePropertiesWidget.cpp
+1
-1
UBGraphicsCache.cpp
src/tools/UBGraphicsCache.cpp
+1
-1
No files found.
src/gui/UBCachePropertiesWidget.cpp
View file @
0b449cc4
...
@@ -92,7 +92,7 @@ UBCachePropertiesWidget::UBCachePropertiesWidget(QWidget *parent, const char *na
...
@@ -92,7 +92,7 @@ UBCachePropertiesWidget::UBCachePropertiesWidget(QWidget *parent, const char *na
mpSizeLabel
=
new
QLabel
(
tr
(
"Size:"
),
mpProperties
);
mpSizeLabel
=
new
QLabel
(
tr
(
"Size:"
),
mpProperties
);
mpSizeSlider
=
new
QSlider
(
Qt
::
Horizontal
,
mpProperties
);
mpSizeSlider
=
new
QSlider
(
Qt
::
Horizontal
,
mpProperties
);
mpSizeSlider
->
setMinimumHeight
(
20
);
mpSizeSlider
->
setMinimumHeight
(
20
);
mpSizeSlider
->
setMinimum
(
0
);
mpSizeSlider
->
setMinimum
(
5
0
);
mpSizeSlider
->
setMaximum
(
MAX_SHAPE_WIDTH
);
mpSizeSlider
->
setMaximum
(
MAX_SHAPE_WIDTH
);
mpSizeLayout
->
addWidget
(
mpSizeLabel
,
0
);
mpSizeLayout
->
addWidget
(
mpSizeLabel
,
0
);
mpSizeLayout
->
addWidget
(
mpSizeSlider
,
1
);
mpSizeLayout
->
addWidget
(
mpSizeSlider
,
1
);
...
...
src/tools/UBGraphicsCache.cpp
View file @
0b449cc4
...
@@ -105,7 +105,7 @@ void UBGraphicsCache::paint(QPainter *painter, const QStyleOptionGraphicsItem *o
...
@@ -105,7 +105,7 @@ void UBGraphicsCache::paint(QPainter *painter, const QStyleOptionGraphicsItem *o
}
}
else
if
(
eMaskShap_Rectangle
==
mMaskShape
)
else
if
(
eMaskShap_Rectangle
==
mMaskShape
)
{
{
path
.
addRect
(
mShapePos
.
x
()
-
mShapeWidth
/
2
,
mShapePos
.
y
()
-
mShapeWidth
/
2
,
mShapeWidth
,
mShapeWidth
);
path
.
addRect
(
mShapePos
.
x
()
-
mShapeWidth
,
mShapePos
.
y
()
-
mShapeWidth
,
2
*
mShapeWidth
,
2
*
mShapeWidth
);
}
}
path
.
setFillRule
(
Qt
::
OddEvenFill
);
path
.
setFillRule
(
Qt
::
OddEvenFill
);
}
}
...
...
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