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
fea02af4
Commit
fea02af4
authored
Mar 21, 2016
by
Craig Watson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few warnings
parent
1423458a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
UBGraphicsMediaItemDelegate.cpp
src/domain/UBGraphicsMediaItemDelegate.cpp
+1
-0
UBGraphicsWidgetItem.cpp
src/domain/UBGraphicsWidgetItem.cpp
+1
-1
UBScreenMirror.cpp
src/gui/UBScreenMirror.cpp
+3
-2
No files found.
src/domain/UBGraphicsMediaItemDelegate.cpp
View file @
fea02af4
...
...
@@ -259,6 +259,7 @@ void UBGraphicsMediaItemDelegate::mediaStatusChanged(QMediaPlayer::MediaStatus s
void
UBGraphicsMediaItemDelegate
::
mediaStateChanged
(
QMediaPlayer
::
State
state
)
{
Q_UNUSED
(
state
);
// Possible states are StoppedState, PlayingState and PausedState
// updatePlayPauseState handles this functionality
...
...
src/domain/UBGraphicsWidgetItem.cpp
View file @
fea02af4
...
...
@@ -855,7 +855,7 @@ UBGraphicsW3CWidgetItem::UBGraphicsW3CWidgetItem(const QUrl& pWidgetUrl, QGraphi
QDomNodeList
propertiesDomList
=
widgetElement
.
elementsByTagName
(
"preference"
);
for
(
u
int
i
=
0
;
i
<
propertiesDomList
.
length
();
i
++
)
{
for
(
int
i
=
0
;
i
<
propertiesDomList
.
length
();
i
++
)
{
QDomElement
preferenceElement
=
propertiesDomList
.
at
(
i
).
toElement
();
QString
prefName
=
preferenceElement
.
attribute
(
"name"
,
""
);
...
...
src/gui/UBScreenMirror.cpp
View file @
fea02af4
...
...
@@ -92,7 +92,7 @@ void UBScreenMirror::grabPixmap()
mRect
.
setTopLeft
(
topLeft
);
mRect
.
setBottomRight
(
bottomRight
);
mLastPixmap
=
QPixmap
::
grabWidget
(
mSourceWidget
);
mLastPixmap
=
mSourceWidget
->
grab
(
);
}
else
{
// WHY HERE?
...
...
@@ -103,7 +103,8 @@ void UBScreenMirror::grabPixmap()
mLastPixmap
=
screen
->
grabWindow
(
desktop
->
effectiveWinId
(),
mRect
.
x
(),
mRect
.
y
(),
mRect
.
width
(),
mRect
.
height
());
}
mLastPixmap
=
mLastPixmap
.
scaled
(
width
(),
height
(),
Qt
::
KeepAspectRatio
,
Qt
::
SmoothTransformation
);
if
(
!
mLastPixmap
.
isNull
())
mLastPixmap
=
mLastPixmap
.
scaled
(
width
(),
height
(),
Qt
::
KeepAspectRatio
,
Qt
::
SmoothTransformation
);
}
...
...
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