Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
67e84bad
Commit
67e84bad
authored
Jan 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix grammar and don't minimize if config_getInt fails
parent
50866663
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+7
-8
No files found.
modules/gui/qt4/main_interface.cpp
View file @
67e84bad
...
...
@@ -308,22 +308,21 @@ inline void MainInterface::createStatusBar()
inline
void
MainInterface
::
initSystray
()
{
bool
b_createSystray
=
false
;
bool
b_systrayAvailable
=
QSystemTrayIcon
::
isSystemTrayAvailable
();
if
(
config_GetInt
(
p_intf
,
"qt-start-minimized"
)
)
bool
b_systrayWanted
=
config_GetInt
(
p_intf
,
"qt-system-tray"
);
if
(
config_GetInt
(
p_intf
,
"qt-start-minimized"
)
>
0
)
{
if
(
b_systrayAvailable
)
{
b_
createSystray
=
true
;
b_
systrayWanted
=
true
;
hide
();
}
else
msg_Err
(
p_intf
,
"You can't minimize if you haven't a system "
"
tray bar"
);
else
msg_Err
(
p_intf
,
"cannot start minimized without system
tray bar"
);
}
if
(
config_GetInt
(
p_intf
,
"qt-system-tray"
)
)
b_createSystray
=
true
;
if
(
b_systrayAvailable
&&
b_
createSystray
)
if
(
b_systrayAvailable
&&
b_
systrayWanted
)
createSystray
();
}
...
...
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