Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-windows
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-windows
Commits
739cffe7
Commit
739cffe7
authored
Sep 5, 2019
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
mainwindow: only minimize on close if not onboarding
Change-Id: Id807371f3687bb4ae028c5cc1931f11d13d0ac6b
parent
f705379d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mainwindow.cpp
+2
-1
2 additions, 1 deletion
mainwindow.cpp
with
2 additions
and
1 deletion
mainwindow.cpp
+
2
−
1
View file @
739cffe7
...
@@ -290,7 +290,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
...
@@ -290,7 +290,8 @@ void MainWindow::closeEvent(QCloseEvent* event)
{
{
LRCInstance
::
avModel
().
stopPreview
();
LRCInstance
::
avModel
().
stopPreview
();
QSettings
settings
(
"jami.net"
,
"Jami"
);
QSettings
settings
(
"jami.net"
,
"Jami"
);
if
(
settings
.
value
(
SettingsKey
::
closeOrMinimized
).
toBool
())
{
if
(
LRCInstance
::
accountModel
().
getAccountList
().
size
()
&&
settings
.
value
(
SettingsKey
::
closeOrMinimized
).
toBool
())
{
this
->
hide
();
this
->
hide
();
event
->
ignore
();
event
->
ignore
();
}
else
{
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment