Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ba517150
Commit
ba517150
authored
May 10, 2007
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: Make the name in the title an option
parent
9ea10544
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+5
-2
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+6
-0
No files found.
modules/gui/qt4/main_interface.cpp
View file @
ba517150
...
...
@@ -129,8 +129,11 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
slider
,
setPosition
(
float
,
int
,
int
)
);
CONNECT
(
THEMIM
->
getIM
(),
positionUpdated
(
float
,
int
,
int
),
this
,
setDisplay
(
float
,
int
,
int
)
);
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
setName
(
QString
)
);
if
(
config_GetInt
(
p_intf
,
"qt-name-in-title"
)
)
{
CONNECT
(
THEMIM
->
getIM
(),
nameChanged
(
QString
),
this
,
setName
(
QString
)
);
}
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
setStatus
(
int
)
);
CONNECT
(
THEMIM
->
getIM
(),
statusChanged
(
int
),
this
,
updateSystrayMenu
(
int
)
);
...
...
modules/gui/qt4/qt4.cpp
View file @
ba517150
...
...
@@ -58,6 +58,10 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
"VLC will start just with an icon in" \
"your taskbar")
#define TITLE_TEXT N_("Show playing item name in window title")
#define TITLE_LONGTEXT N_("Show the name of the song or video in the " \
"controler window title")
#define FILEDIALOG_PATH_TEXT N_("path to use in file dialog")
#define FILEDIALOG_PATH_LONGTEXT N_("path to use in file dialog")
...
...
@@ -83,6 +87,8 @@ vlc_module_begin();
SYSTRAY_LONGTEXT
,
VLC_FALSE
);
add_bool
(
"qt-start-mininimized"
,
VLC_FALSE
,
NULL
,
MINIMIZED_TEXT
,
MINIMIZED_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"qt-name-in-title"
,
VLC_TRUE
,
NULL
,
TITLE_TEXT
,
TITLE_LONGTEXT
,
VLC_FALSE
);
add_string
(
"qt-filedialog-path"
,
NULL
,
NULL
,
FILEDIALOG_PATH_TEXT
,
FILEDIALOG_PATH_LONGTEXT
,
VLC_TRUE
);
change_autosave
();
...
...
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