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
31a81436
Commit
31a81436
authored
Jun 22, 2012
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
language can be choosed on windows system too
parent
38ea6466
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
UBBoardController.cpp
src/board/UBBoardController.cpp
+2
-1
UBApplication.cpp
src/core/UBApplication.cpp
+3
-1
UBPlatformUtils_win.cpp
src/frameworks/UBPlatformUtils_win.cpp
+1
-0
No files found.
src/board/UBBoardController.cpp
View file @
31a81436
...
...
@@ -1233,11 +1233,12 @@ void UBBoardController::setActiveDocumentScene(UBDocumentProxy* pDocumentProxy,
if
(
documentChange
)
{
emit
activeDocumentChanged
();
emit
setDocOnPageNavigator
(
pDocumentProxy
);
UBGraphicsTextItem
::
lastUsedTextColor
=
QColor
();
}
// Notify the navigator palette that the document has changed
emit
setDocOnPageNavigator
(
pDocumentProxy
);
//
emit setDocOnPageNavigator(pDocumentProxy);
if
(
sceneChange
)
{
...
...
src/core/UBApplication.cpp
View file @
31a81436
...
...
@@ -235,10 +235,12 @@ void UBApplication::setupTranslator(QString forcedLanguage)
mQtGuiTranslator
->
load
(
UBPlatformUtils
::
translationPath
(
QString
(
"qt_"
),
language
));
if
(
mQtGuiTranslator
){
if
(
!
mQtGuiTranslator
->
isEmpty
()
){
// checked because this translation could be not available
installTranslator
(
mQtGuiTranslator
);
}
else
qDebug
()
<<
"Qt gui translation in "
<<
language
<<
" are not available"
;
}
...
...
src/frameworks/UBPlatformUtils_win.cpp
View file @
31a81436
...
...
@@ -20,6 +20,7 @@
#include <windows.h>
#include <shellapi.h>
#include "frameworks/UBFileSystemUtils.h"
#include "core/memcheck.h"
void
UBPlatformUtils
::
init
()
...
...
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