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
42b08ef3
Commit
42b08ef3
authored
5 years ago
by
Clément Fauconnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "added possibility to start in Document Mode"
This reverts commit
62a5ad33
.
parent
e4e23c7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
preferences.ui
resources/forms/preferences.ui
+0
-5
UBApplication.cpp
src/core/UBApplication.cpp
+3
-5
No files found.
resources/forms/preferences.ui
View file @
42b08ef3
...
@@ -387,11 +387,6 @@
...
@@ -387,11 +387,6 @@
<string>
Desktop
</string>
<string>
Desktop
</string>
</property>
</property>
</item>
</item>
<item>
<property
name=
"text"
>
<string>
Document
</string>
</property>
</item>
</widget>
</widget>
</item>
</item>
<item
row=
"0"
column=
"2"
>
<item
row=
"0"
column=
"2"
>
...
...
This diff is collapsed.
Click to expand it.
src/core/UBApplication.cpp
View file @
42b08ef3
...
@@ -351,12 +351,10 @@ int UBApplication::exec(const QString& pFileToImport)
...
@@ -351,12 +351,10 @@ int UBApplication::exec(const QString& pFileToImport)
if
(
pFileToImport
.
length
()
>
0
)
if
(
pFileToImport
.
length
()
>
0
)
UBApplication
::
applicationController
->
importFile
(
pFileToImport
);
UBApplication
::
applicationController
->
importFile
(
pFileToImport
);
if
(
UBSettings
::
settings
()
->
appStartMode
->
get
().
toInt
()
==
0
)
if
(
UBSettings
::
settings
()
->
appStartMode
->
get
().
toInt
())
applicationController
->
showBoard
();
else
if
(
UBSettings
::
settings
()
->
appStartMode
->
get
().
toInt
()
==
1
)
applicationController
->
showDesktop
();
applicationController
->
showDesktop
();
else
if
(
UBSettings
::
settings
()
->
appStartMode
->
get
().
toInt
()
==
2
)
else
applicationController
->
show
Document
();
applicationController
->
show
Board
();
emit
UBDrawingController
::
drawingController
()
->
colorPaletteChanged
();
emit
UBDrawingController
::
drawingController
()
->
colorPaletteChanged
();
...
...
This diff is collapsed.
Click to expand it.
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