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
40be5027
Commit
40be5027
authored
Feb 01, 2012
by
shibakaneki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Sankore/Sankore-3.1
parents
01aa493e
2ea30bf9
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
82 additions
and
146 deletions
+82
-146
Sankore_3.1.pro
Sankore_3.1.pro
+1
-1
buildDebianPackage
buildDebianPackage
+13
-6
release.linux.sh
release.linux.sh
+0
-0
index.html
...sankoreInteractivities/ordonner_des_images.wgt/index.html
+9
-1
languages.js
...reInteractivities/ordonner_des_images.wgt/js/languages.js
+0
-20
script.js
...nkoreInteractivities/ordonner_des_images.wgt/js/script.js
+4
-15
en.js
...eractivities/ordonner_des_images.wgt/js/translation/en.js
+8
-0
fr.js
...eractivities/ordonner_des_images.wgt/js/translation/fr.js
+8
-0
ru.js
...eractivities/ordonner_des_images.wgt/js/translation/ru.js
+8
-0
private.properties
...onner_des_images.wgt/nbproject/private/private.properties
+0
-5
private.xml
...ies/ordonner_des_images.wgt/nbproject/private/private.xml
+0
-4
project.properties
...ties/ordonner_des_images.wgt/nbproject/project.properties
+0
-7
project.xml
...ractivities/ordonner_des_images.wgt/nbproject/project.xml
+0
-9
UBExportFullPDF.cpp
src/adaptors/UBExportFullPDF.cpp
+26
-71
UBExportFullPDF.h
src/adaptors/UBExportFullPDF.h
+3
-4
UBExportPDF.cpp
src/adaptors/UBExportPDF.cpp
+0
-1
UBBoardPaletteManager.cpp
src/board/UBBoardPaletteManager.cpp
+1
-2
UBApplicationController.cpp
src/core/UBApplicationController.cpp
+1
-0
No files found.
Sankore_3.1.pro
View file @
40be5027
...
...
@@ -13,7 +13,7 @@ linux-g++-64 {
VERSION_MAJ
=
1
VERSION_MIN
=
40
VERSION_TYPE
=
b
#
a
=
alpha
,
b
=
beta
,
r
=
release
,
other
=>
error
VERSION_PATCH
=
0
2
VERSION_PATCH
=
0
3
VERSION
=
"$${VERSION_MAJ}.$${VERSION_MIN}.$${VERSION_TYPE}.$${VERSION_PATCH}"
VERSION
=
$$
replace
(
VERSION
,
"\\.r"
,
""
)
...
...
buildDebianPackage
View file @
40be5027
...
...
@@ -49,8 +49,8 @@ else
LAST_COMMITED_VERSION
=
"
`
git describe
$(
git rev-list
--tags
--max-count
=
1
)
`
"
if
[
"v
$VERSION
"
!=
"
$LAST_COMMITED_VERSION
"
]
;
then
echo
creating a tag with the version
$VERSION
#
git tag -a "v$VERSION" -m "Generating setup for v$VERSION"
#
git push origin --tags
git tag
-a
"v
$VERSION
"
-m
"Generating setup for v
$VERSION
"
git push origin
--tags
fi
fi
...
...
@@ -192,6 +192,9 @@ CONTROL_FILE="$BASE_WORKING_DIR/DEBIAN/control"
CHANGE_LOG_TEXT
=
"changelog.txt"
ARCHITECTURE
=
`
uname
-i
`
if
[
"
$ARCHITECTURE
"
==
"x86_64"
]
;
then
ARCHITECTURE
=
"amd64"
fi
echo
"Open-Sankore (
$VERSION
)
$ARCHITECTURE
; urgency=low"
>
"
$CHANGE_LOG_FILE
"
echo
>>
"
$CHANGE_LOG_FILE
"
...
...
@@ -206,8 +209,8 @@ echo "Priority: optional" >> "$CONTROL_FILE"
echo
"Architecture:
$ARCHITECTURE
"
>>
"
$CONTROL_FILE
"
echo
"Essential: no"
>>
"
$CONTROL_FILE
"
echo
"Installed-Size:
`
du
-s
$SANKORE_PACKAGE_DIRECTORY
|
awk
'{ print $1 }'
`
"
>>
"
$CONTROL_FILE
"
echo
"Maintainer:
Claudio VALERIO <claudio
@open-sankore.org>"
>>
"
$CONTROL_FILE
"
echo
"Homepage: http://
www
.open-sankore.org"
>>
"
$CONTROL_FILE
"
echo
"Maintainer:
Open-Sankoré Developers team <dev
@open-sankore.org>"
>>
"
$CONTROL_FILE
"
echo
"Homepage: http://
dev
.open-sankore.org"
>>
"
$CONTROL_FILE
"
echo
-n
"Depends: "
>>
"
$CONTROL_FILE
"
unset
tab
declare
-a
tab
...
...
@@ -223,6 +226,10 @@ for l in `objdump -p $SANKORE_PACKAGE_DIRECTORY/Open-Sankore | grep NEEDED | awk
done
;
done
;
#additional dependencies
tab[
$count
]=
"gtk2-engines-pixbuf"
((
count++
))
for
((
i
=
0
;
i<
${#
tab
[@]
}
;
i++
))
;
do
if
[
$i
-ne
"0"
]
;
then
echo
-n
", "
>>
"
$CONTROL_FILE
"
...
...
@@ -254,10 +261,10 @@ chmod 755 "$BASE_WORKING_DIR/DEBIAN/postint"
mkdir
-p
"install/linux"
sudo
chown
-R
root:root
$BASE_WORKING_DIR
fakeroot
chown
-R
root:root
$BASE_WORKING_DIR
dpkg
-b
"
$BASE_WORKING_DIR
"
install
/linux/Open-Sankore_
${
VERSION
}
_
$ARCHITECTURE
.deb
notify-send
"Open-Sankore"
"Package built"
#clean up mess
#
sudo
rm -rf $BASE_WORKING_DIR
#
fakeroot
rm -rf $BASE_WORKING_DIR
release.linux.sh
100644 → 100755
View file @
40be5027
File mode changed from 100644 to 100755
resources/library/sankoreInteractivities/ordonner_des_images.wgt/index.html
View file @
40be5027
...
...
@@ -10,6 +10,14 @@
<script
type=
"text/javascript"
src=
"js/script.js"
></script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
var
lang
=
""
;
//locale language
if
(
window
.
sankore
){
lang
=
sankore
.
locale
().
substr
(
0
,
2
);
}
else
lang
=
"en"
;
$
(
"<script type='text/javascript' src='js/translation/"
+
lang
+
".js'>"
).
appendTo
(
"head"
);
if
((
typeof
sankoreLang
)
==
"undefined"
)
$
(
"<script type='text/javascript' src='js/translation/en.js'>"
).
appendTo
(
"head"
);
start
();
//here you can put your code
if
(
window
.
sankore
)
...
...
@@ -41,6 +49,6 @@
</div>
</div>
<div
style=
"width: 100%; height: 25px;"
></div>
</body>
</html>
resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/languages.js
deleted
100644 → 0
View file @
01aa493e
var
sankoreLang
=
{
"en"
:{
"short_desc"
:
"Place the pictures in ascending order."
,
"display"
:
"Display"
,
"edit"
:
"Edit"
,
"add"
:
"Add new block"
},
"ru"
:{
"short_desc"
:
"Расположите картинки в порядке возрастания цифр."
,
"display"
:
"Показать"
,
"edit"
:
"Изменить"
,
"add"
:
"Добавить новый блок"
},
"fr"
:{
"short_desc"
:
"Placez les photos dans l'ordre croissant."
,
"display"
:
"D'affichage"
,
"edit"
:
"Modifier"
,
"add"
:
"Ajouter nouveau bloc"
}
};
\ No newline at end of file
resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/script.js
View file @
40be5027
var
lang
=
""
;
//locale language
//main function
function
start
(){
if
(
window
.
sankore
){
try
{
lang
=
sankore
.
locale
().
substr
(
0
,
2
);
sankoreLang
[
lang
].
edit
;
}
catch
(
e
){
lang
=
"en"
;
}
}
else
lang
=
"en"
;
$
(
"#display_text"
).
text
(
sankoreLang
[
lang
].
display
);
$
(
"#edit_text"
).
text
(
sankoreLang
[
lang
].
edit
);
$
(
"#display_text"
).
text
(
sankoreLang
.
display
);
$
(
"#edit_text"
).
text
(
sankoreLang
.
edit
);
if
(
window
.
sankore
){
if
(
sankore
.
preference
(
"odr_des_imgs"
,
""
)){
...
...
@@ -114,7 +103,7 @@ function start(){
// }, 1);
$
(
"<div class='add_block'>"
+
sankoreLang
[
lang
]
.
add
+
"</div>"
).
appendTo
(
"body"
);
$
(
"<div class='add_block'>"
+
sankoreLang
.
add
+
"</div>"
).
appendTo
(
"body"
);
}
}
});
...
...
@@ -251,7 +240,7 @@ function showExample(){
var
imgs_container
=
$
(
"<div class='imgs_cont'>"
).
appendTo
(
container
);
var
number
=
$
(
"<div class='number_cont'>1</div>"
).
appendTo
(
sub_container
);
var
text
=
$
(
"<div class='text_cont'>"
+
sankoreLang
[
lang
]
.
short_desc
+
"</div>"
).
appendTo
(
sub_container
);
var
text
=
$
(
"<div class='text_cont'>"
+
sankoreLang
.
short_desc
+
"</div>"
).
appendTo
(
sub_container
);
$
(
"<input type='hidden' value='1*2*3*4*5*'/>"
).
appendTo
(
imgs_container
);
...
...
resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/translation/en.js
0 → 100644
View file @
40be5027
var
sankoreLang
=
{
short_desc
:
"Place the pictures in ascending order."
,
display
:
"Display"
,
edit
:
"Edit"
,
add
:
"Add new block"
};
resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/translation/fr.js
0 → 100644
View file @
40be5027
var
sankoreLang
=
{
short_desc
:
"Placez les photos dans l'ordre croissant."
,
display
:
"D'affichage"
,
edit
:
"Modifier"
,
add
:
"Ajouter nouveau bloc"
};
resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/translation/ru.js
0 → 100644
View file @
40be5027
var
sankoreLang
=
{
short_desc
:
"Расположите картинки в порядке возрастания цифр."
,
display
:
"Показать"
,
edit
:
"Изменить"
,
add
:
"Добавить новый блок"
};
resources/library/sankoreInteractivities/ordonner_des_images.wgt/nbproject/private/private.properties
deleted
100644 → 0
View file @
01aa493e
copy.src.files
=
false
copy.src.target
=
index.file
=
index.html
run.as
=
LOCAL
url
=
http://localhost/Ordonner_des_images/
resources/library/sankoreInteractivities/ordonner_des_images.wgt/nbproject/private/private.xml
deleted
100644 → 0
View file @
01aa493e
<?xml version="1.0" encoding="UTF-8"?>
<project-private
xmlns=
"http://www.netbeans.org/ns/project-private/1"
>
<editor-bookmarks
xmlns=
"http://www.netbeans.org/ns/editor-bookmarks/1"
/>
</project-private>
resources/library/sankoreInteractivities/ordonner_des_images.wgt/nbproject/project.properties
deleted
100644 → 0
View file @
01aa493e
include.path
=
${php.global.include.path}
php.version
=
PHP_5
source.encoding
=
UTF-8
src.dir
=
.
tags.asp
=
false
tags.short
=
true
web.root
=
.
resources/library/sankoreInteractivities/ordonner_des_images.wgt/nbproject/project.xml
deleted
100644 → 0
View file @
01aa493e
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://www.netbeans.org/ns/project/1"
>
<type>
org.netbeans.modules.php.project
</type>
<configuration>
<data
xmlns=
"http://www.netbeans.org/ns/php-project/1"
>
<name>
Ordonner_des_images.wgt
</name>
</data>
</configuration>
</project>
src/adaptors/UBExportFullPDF.cpp
View file @
40be5027
...
...
@@ -46,7 +46,10 @@ using namespace merge_lib;
UBExportFullPDF
::
UBExportFullPDF
(
QObject
*
parent
)
:
UBExportAdaptor
(
parent
)
{
// NOOP
//need to calculate screen resolution
QDesktopWidget
*
desktop
=
UBApplication
::
desktop
();
int
dpiCommon
=
(
desktop
->
physicalDpiX
()
+
desktop
->
physicalDpiY
())
/
2
;
mScaleFactor
=
72.0
f
/
dpiCommon
;
}
...
...
@@ -56,7 +59,7 @@ UBExportFullPDF::~UBExportFullPDF()
}
void
UBExportFullPDF
::
saveOverlayPdf
(
UBDocumentProxy
*
pDocumentProxy
,
QString
filename
)
void
UBExportFullPDF
::
saveOverlayPdf
(
UBDocumentProxy
*
pDocumentProxy
,
const
QString
&
filename
)
{
if
(
!
pDocumentProxy
||
filename
.
length
()
==
0
||
pDocumentProxy
->
pageCount
()
==
0
)
return
;
...
...
@@ -70,9 +73,6 @@ void UBExportFullPDF::saveOverlayPdf(UBDocumentProxy* pDocumentProxy, QString fi
pdfPrinter
.
setOutputFileName
(
filename
);
pdfPrinter
.
setFullPage
(
true
);
const
qreal
margin
=
UBSettings
::
settings
()
->
pdfMargin
->
get
().
toDouble
()
*
pdfPrinter
.
resolution
()
/
25.4
;
mMargin
=
margin
;
QPainter
*
pdfPainter
=
0
;
for
(
int
pageIndex
=
0
;
pageIndex
<
pDocumentProxy
->
pageCount
();
pageIndex
++
)
...
...
@@ -87,54 +87,20 @@ void UBExportFullPDF::saveOverlayPdf(UBDocumentProxy* pDocumentProxy, QString fi
scene
->
setRenderingQuality
(
UBItem
::
RenderingQualityHigh
);
scene
->
setRenderingContext
(
UBGraphicsScene
::
PdfExport
);
UBGraphicsPDFItem
*
pdfItem
=
qgraphicsitem_cast
<
UBGraphicsPDFItem
*>
(
scene
->
backgroundObject
());
if
(
pdfItem
)
{
QSizeF
sceneItemsBound
=
scene
->
itemsBoundingRect
().
size
();
qreal
ratio
=
(
qreal
)
pdfPrinter
.
resolution
()
/
72.0
;
QSizeF
scaled
=
sceneItemsBound
*
ratio
;
pdfPrinter
.
setPaperSize
(
scaled
,
QPrinter
::
DevicePixel
);
if
(
pageIndex
!=
0
)
pdfPrinter
.
newPage
();
if
(
!
pdfPainter
)
pdfPainter
=
new
QPainter
(
&
pdfPrinter
);
//render to PDF
scene
->
render
(
pdfPainter
,
QRectF
(
0
,
0
,
sceneItemsBound
.
width
()
*
ratio
,
sceneItemsBound
.
height
()
*
ratio
),
scene
->
itemsBoundingRect
());
mHasPDFBackgrounds
=
true
;
}
else
{
if
(
UBSettings
::
settings
()
->
pdfPageFormat
->
get
().
toString
()
==
"Letter"
)
pdfPrinter
.
setPageSize
(
QPrinter
::
Letter
);
else
pdfPrinter
.
setPageSize
(
QPrinter
::
A4
);
QSize
pageSize
=
scene
->
nominalSize
();
QSize
docSize
=
pDocumentProxy
->
defaultDocumentSize
();
if
(
docSize
.
width
()
>
docSize
.
height
())
{
pdfPrinter
.
setOrientation
(
QPrinter
::
Landscape
);
}
UBGraphicsPDFItem
*
pdfItem
=
qgraphicsitem_cast
<
UBGraphicsPDFItem
*>
(
scene
->
backgroundObject
());
if
(
pageIndex
!=
0
)
pdfPrinter
.
newPage
();
if
(
pdfItem
)
mHasPDFBackgrounds
=
true
;
pdfPrinter
.
setPaperSize
(
QSizeF
(
pageSize
.
width
()
*
mScaleFactor
,
pageSize
.
height
()
*
mScaleFactor
),
QPrinter
::
Point
);
mDefaultPageRect
=
pdfPrinter
.
paperRect
();
QRectF
paperRect
=
mDefaultPageRect
.
adjusted
(
margin
,
margin
,
-
margin
,
-
margin
);
QRectF
normalized
=
scene
->
normalizedSceneRect
(
paperRect
.
width
()
/
paperRect
.
height
());
if
(
!
pdfPainter
)
pdfPainter
=
new
QPainter
(
&
pdfPrinter
);
if
(
!
pdfPainter
)
pdfPainter
=
new
QPainter
(
&
pdfPrinter
);
if
(
pageIndex
!=
0
)
pdfPrinter
.
newPage
();
//render to PDF
scene
->
render
(
pdfPainter
,
paperRect
,
normalized
);
}
//render to PDF
scene
->
render
(
pdfPainter
);
//restore screen rendering quality
scene
->
setRenderingContext
(
UBGraphicsScene
::
Screen
);
...
...
@@ -144,8 +110,7 @@ void UBExportFullPDF::saveOverlayPdf(UBDocumentProxy* pDocumentProxy, QString fi
scene
->
setBackground
(
isDark
,
isCrossed
);
}
if
(
pdfPainter
)
delete
pdfPainter
;
if
(
pdfPainter
)
delete
pdfPainter
;
}
...
...
@@ -171,12 +136,10 @@ void UBExportFullPDF::persist(UBDocumentProxy* pDocumentProxy)
}
void
UBExportFullPDF
::
persistsDocument
(
UBDocumentProxy
*
pDocumentProxy
,
QString
filename
)
void
UBExportFullPDF
::
persistsDocument
(
UBDocumentProxy
*
pDocumentProxy
,
const
QString
&
filename
)
{
QFile
file
(
filename
);
if
(
file
.
exists
())
file
.
remove
();
if
(
file
.
exists
())
file
.
remove
();
QString
overlayName
=
filename
;
overlayName
.
replace
(
".pdf"
,
"_overlay.pdf"
);
...
...
@@ -209,31 +172,27 @@ void UBExportFullPDF::persistsDocument(UBDocumentProxy* pDocumentProxy, QString
UBGraphicsScene
*
scene
=
UBPersistenceManager
::
persistenceManager
()
->
loadDocumentScene
(
pDocumentProxy
,
pageIndex
);
UBGraphicsPDFItem
*
pdfItem
=
qgraphicsitem_cast
<
UBGraphicsPDFItem
*>
(
scene
->
backgroundObject
());
if
(
pdfItem
)
QSize
pageSize
=
scene
->
nominalSize
();
if
(
pdfItem
)
{
QString
pdfName
=
UBPersistenceManager
::
objectDirectory
+
"/"
+
pdfItem
->
fileUuid
().
toString
()
+
".pdf"
;
QString
backgroundPath
=
pDocumentProxy
->
persistencePath
()
+
"/"
+
pdfName
;
QPointF
boudingRectBottomLeft
=
scene
->
itemsBoundingRect
().
bottomLeft
();
QPointF
pdfItemBottomLeft
=
pdfItem
->
sceneBoundingRect
().
bottomLeft
();
QPointF
offset
=
pdfItemBottomLeft
-
boudingRectBottomLeft
;
qDebug
()
<<
"scene->itemsBoundingRect()"
<<
scene
->
itemsBoundingRect
();
qDebug
()
<<
"pdfItem->boundingRect()"
<<
pdfItem
->
boundingRect
();
qDebug
()
<<
"pdfItem->sceneBoundingRect()"
<<
pdfItem
->
sceneBoundingRect
();
qDebug
()
<<
offset
;
TransformationDescription
baseTrans
(
offset
.
x
(),
offset
.
y
()
*
-
1
,
1
,
0
);
//TransformationDescription baseTrans(0, 0, 1, 0);
TransformationDescription
overlayTrans
(
0
,
0
,
1
,
0
);
MergePageDescription
pageDescription
(
scene
->
itemsBoundingRect
().
width
()
,
scene
->
itemsBoundingRect
().
height
()
,
MergePageDescription
pageDescription
(
pageSize
.
width
()
*
mScaleFactor
,
pageSize
.
height
()
*
mScaleFactor
,
pdfItem
->
pageNumber
(),
QFile
::
encodeName
(
backgroundPath
).
constData
(),
baseTrans
,
TransformationDescription
()
,
pageIndex
+
1
,
overlayTrans
,
TransformationDescription
()
,
false
,
false
);
mergeInfo
.
push_back
(
pageDescription
);
...
...
@@ -242,12 +201,8 @@ void UBExportFullPDF::persistsDocument(UBDocumentProxy* pDocumentProxy, QString
}
else
{
QRectF
paperRect
=
mDefaultPageRect
.
adjusted
(
mMargin
,
mMargin
,
-
mMargin
,
-
mMargin
);
QRectF
normalized
=
scene
->
normalizedSceneRect
(
paperRect
.
width
()
/
paperRect
.
height
());
MergePageDescription
pageDescription
(
normalized
.
width
(),
normalized
.
height
(),
MergePageDescription
pageDescription
(
pageSize
.
width
()
*
mScaleFactor
,
pageSize
.
height
()
*
mScaleFactor
,
0
,
""
,
TransformationDescription
(),
...
...
src/adaptors/UBExportFullPDF.h
View file @
40be5027
...
...
@@ -33,14 +33,13 @@ class UBExportFullPDF : public UBExportAdaptor
virtual
QString
exportExtention
();
virtual
void
persist
(
UBDocumentProxy
*
pDocument
);
virtual
void
persistsDocument
(
UBDocumentProxy
*
pDocument
,
QString
filename
);
virtual
void
persistsDocument
(
UBDocumentProxy
*
pDocument
,
const
QString
&
filename
);
protected
:
void
saveOverlayPdf
(
UBDocumentProxy
*
pDocumentProxy
,
QString
filename
);
void
saveOverlayPdf
(
UBDocumentProxy
*
pDocumentProxy
,
const
QString
&
filename
);
private
:
QRect
mDefaultPageRect
;
int
mMargin
;
float
mScaleFactor
;
bool
mHasPDFBackgrounds
;
};
...
...
src/adaptors/UBExportPDF.cpp
View file @
40be5027
...
...
@@ -101,7 +101,6 @@ void UBExportPDF::persistsDocument(UBDocumentProxy* pDocumentProxy, const QStrin
//setting page size to appropriate value
pdfPrinter
.
setPaperSize
(
QSizeF
(
pageSize
.
width
()
*
scaleFactor
,
pageSize
.
height
()
*
scaleFactor
),
QPrinter
::
Point
);
pdfPrinter
.
setOrientation
((
pageSize
.
width
()
>
pageSize
.
height
())
?
QPrinter
::
Landscape
:
QPrinter
::
Portrait
);
if
(
painterNeedsBegin
)
painterNeedsBegin
=
!
pdfPainter
.
begin
(
&
pdfPrinter
);
//render to PDF
scene
->
render
(
&
pdfPainter
);
...
...
src/board/UBBoardPaletteManager.cpp
View file @
40be5027
...
...
@@ -822,8 +822,7 @@ void UBBoardPaletteManager::addItem(const QPixmap& pPixmap, const QPointF& pos,
void
UBBoardPaletteManager
::
addItemToCurrentPage
()
{
UBApplication
::
applicationController
->
showBoard
();
UBApplication
::
applicationController
->
hideDesktop
();
UBApplication
::
applicationController
->
showBoard
();
mAddItemPalette
->
hide
();
if
(
mPixmap
.
isNull
())
UBApplication
::
boardController
->
downloadURL
(
mItemUrl
);
...
...
src/core/UBApplicationController.cpp
View file @
40be5027
...
...
@@ -347,6 +347,7 @@ void UBApplicationController::showBoard()
if
(
UBApplication
::
boardController
)
UBApplication
::
boardController
->
show
();
mIsShowingDesktop
=
false
;
UBPlatformUtils
::
setDesktopMode
(
false
);
mUninoteController
->
hideWindow
();
...
...
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