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
530d432f
Commit
530d432f
authored
Nov 12, 2015
by
agriche
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://github.com/DIP-SEM/OpenBoard
into dev
parents
bc27f484
7a4e9d2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
12 deletions
+1
-12
main.cpp
src/core/main.cpp
+1
-1
UBGraphicsPolygonItem.cpp
src/domain/UBGraphicsPolygonItem.cpp
+0
-10
UBGraphicsPolygonItem.h
src/domain/UBGraphicsPolygonItem.h
+0
-1
No files found.
src/core/main.cpp
View file @
530d432f
...
...
@@ -134,7 +134,7 @@ int main(int argc, char *argv[])
//app.initialize(false); // should not be needed anymore
QObject
::
connect
(
&
app
,
SIGNAL
(
messageReceived
(
const
QString
&
)),
&
app
,
SLOT
(
handleOpenMessage
(
const
QString
&
)));
QObject
::
connect
(
&
app
,
SIGNAL
(
messageReceived
(
const
QString
&
,
QObject
*
)),
&
app
,
SLOT
(
handleOpenMessage
(
const
QString
&
)));
qDebug
()
<<
"file name argument"
<<
fileToOpen
;
int
result
=
app
.
exec
(
fileToOpen
);
...
...
src/domain/UBGraphicsPolygonItem.cpp
View file @
530d432f
...
...
@@ -211,16 +211,6 @@ void UBGraphicsPolygonItem::paint ( QPainter * painter, const QStyleOptionGraphi
QGraphicsPolygonItem
::
paint
(
painter
,
option
,
widget
);
}
QPainterPath
UBGraphicsPolygonItem
::
shape
()
const
{
QPainterPath
path
;
path
.
addRect
(
boundingRect
());
return
path
;
}
UBGraphicsScene
*
UBGraphicsPolygonItem
::
scene
()
{
return
qobject_cast
<
UBGraphicsScene
*>
(
QGraphicsPolygonItem
::
scene
());
...
...
src/domain/UBGraphicsPolygonItem.h
View file @
530d432f
...
...
@@ -132,7 +132,6 @@ class UBGraphicsPolygonItem : public QGraphicsPolygonItem, public UBItem
protected
:
void
paint
(
QPainter
*
painter
,
const
QStyleOptionGraphicsItem
*
option
,
QWidget
*
widget
);
QPainterPath
shape
()
const
;
private
:
...
...
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