Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-client-windows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
savoirfairelinux
jami-client-windows
Commits
55c1b0a4
Commit
55c1b0a4
authored
Nov 27, 2019
by
Ming Rui Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main: show maximized mainwindow only when accounts exist
Change-Id: Iefc512728721b6cc760273bbfedf0b37aed036ca
parent
a801936c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
main.cpp
main.cpp
+2
-1
No files found.
main.cpp
View file @
55c1b0a4
...
...
@@ -279,7 +279,8 @@ main(int argc, char* argv[])
QSettings
settings
(
"jami.net"
,
"Jami"
);
if
(
not
startMinimized
)
{
if
(
settings
.
value
(
SettingsKey
::
hasRun
)
==
0
)
{
MainWindow
::
instance
().
showMaximized
();
if
(
LRCInstance
::
accountModel
().
getAccountList
().
size
()
!=
0
)
MainWindow
::
instance
().
showMaximized
();
QTimer
::
singleShot
(
100
,
[]
{
QSettings
settings
(
"jami.net"
,
"Jami"
);
...
...
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