Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d4db9fc9
Commit
d4db9fc9
authored
Aug 30, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uses qfu() instead of QString::fromUtf8()
parent
161928b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
+2
-4
modules/gui/qt4/playlist_model.cpp
modules/gui/qt4/playlist_model.cpp
+1
-2
No files found.
modules/gui/qt4/dialogs/help.cpp
View file @
d4db9fc9
...
@@ -85,14 +85,12 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
...
@@ -85,14 +85,12 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
/* GPL License */
/* GPL License */
QTextEdit
*
licenseEdit
=
new
QTextEdit
(
this
);
QTextEdit
*
licenseEdit
=
new
QTextEdit
(
this
);
QString
psz_qlicence
=
QString
::
fromUtf8
(
psz_licence
);
licenseEdit
->
setText
(
qfu
(
psz_licence
)
);
licenseEdit
->
setText
(
psz_qlicence
);
licenseEdit
->
setReadOnly
(
true
);
licenseEdit
->
setReadOnly
(
true
);
/* People who helped */
/* People who helped */
QTextEdit
*
thanksEdit
=
new
QTextEdit
(
this
);
QTextEdit
*
thanksEdit
=
new
QTextEdit
(
this
);
QString
psz_qthanks
=
QString
::
fromUtf8
(
psz_thanks
);
thanksEdit
->
setText
(
qfu
(
psz_thanks
)
);
thanksEdit
->
setText
(
psz_qthanks
);
thanksEdit
->
setReadOnly
(
true
);
thanksEdit
->
setReadOnly
(
true
);
/* add the tabs to the Tabwidget */
/* add the tabs to the Tabwidget */
...
...
modules/gui/qt4/playlist_model.cpp
View file @
d4db9fc9
...
@@ -194,8 +194,7 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
...
@@ -194,8 +194,7 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
if
(
model
->
i_depth
==
1
)
//left window for playlist etc.
if
(
model
->
i_depth
==
1
)
//left window for playlist etc.
{
{
const
QString
psz_name
=
QString
::
fromUtf8
(
p_item
->
p_input
->
psz_name
);
strings
.
append
(
qfu
(
p_item
->
p_input
->
psz_name
)
);
strings
.
append
(
psz_name
);
return
;
return
;
}
}
...
...
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