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
6b2a555b
Commit
6b2a555b
authored
Dec 11, 2013
by
Ilia Ryabokon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of github.com:OpenEducationFoundation/OpenBoard into develop
parents
d5ec11fa
530ef767
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
UBBoardPaletteManager.cpp
src/board/UBBoardPaletteManager.cpp
+1
-1
UBDocumentTreeWidget.cpp
src/gui/UBDocumentTreeWidget.cpp
+3
-3
No files found.
src/board/UBBoardPaletteManager.cpp
View file @
6b2a555b
...
...
@@ -243,7 +243,7 @@ void UBBoardPaletteManager::setupPalettes()
mStylusPalette
->
stackUnder
(
mZoomPalette
);
mTipPalette
=
new
UBStartupHintsPalette
(
mContainer
);
//
mTipPalette = new UBStartupHintsPalette(mContainer);
QList
<
QAction
*>
backgroundsActions
;
backgroundsActions
<<
UBApplication
::
mainWindow
->
actionPlainLightBackground
;
...
...
src/gui/UBDocumentTreeWidget.cpp
View file @
6b2a555b
...
...
@@ -261,7 +261,7 @@ void UBDocumentTreeWidget::dropEvent(QDropEvent *event)
UBDocumentProxyTreeItem
*
pi
=
dynamic_cast
<
UBDocumentProxyTreeItem
*>
(
ti
);
if
(
pi
)
{
if
(
mSelectedProxyTi
->
proxy
()
->
metaData
(
UBSettings
::
document
UpdatedAt
).
toString
()
>=
pi
->
proxy
()
->
metaData
(
UBSettings
::
documentUpdatedAt
).
toString
())
if
(
mSelectedProxyTi
->
proxy
()
->
metaData
(
UBSettings
::
document
Date
).
toString
()
>=
pi
->
proxy
()
->
metaData
(
UBSettings
::
documentDate
).
toString
())
{
break
;
}
...
...
@@ -380,7 +380,7 @@ void UBDocumentTreeWidget::documentUpdated(UBDocumentProxy *pDocument)
UBDocumentProxyTreeItem
*
pi
=
dynamic_cast
<
UBDocumentProxyTreeItem
*>
(
ti
);
if
(
pi
)
{
if
(
pDocument
->
metaData
(
UBSettings
::
document
UpdatedAt
).
toString
()
>=
pi
->
proxy
()
->
metaData
(
UBSettings
::
documentUpdatedAt
).
toString
())
if
(
pDocument
->
metaData
(
UBSettings
::
document
Date
).
toString
()
>=
pi
->
proxy
()
->
metaData
(
UBSettings
::
documentDate
).
toString
())
{
bool
selected
=
treeItem
->
isSelected
();
parent
->
removeChild
(
treeItem
);
...
...
@@ -416,7 +416,7 @@ UBDocumentProxyTreeItem::UBDocumentProxyTreeItem(QTreeWidgetItem * parent, UBDoc
UBDocumentProxyTreeItem
*
pi
=
dynamic_cast
<
UBDocumentProxyTreeItem
*>
(
ti
);
if
(
pi
)
{
if
(
proxy
->
metaData
(
UBSettings
::
document
UpdatedAt
).
toString
()
>=
pi
->
proxy
()
->
metaData
(
UBSettings
::
documentUpdatedAt
).
toString
())
if
(
proxy
->
metaData
(
UBSettings
::
document
Date
).
toString
()
>=
pi
->
proxy
()
->
metaData
(
UBSettings
::
documentDate
).
toString
())
{
break
;
}
...
...
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