Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
JuK
Commits
dcc44244
Commit
dcc44244
authored
Apr 02, 2003
by
Scott Wheeler
Browse files
CVS_SILENT (1) "== QString::null()" -> "foo.isNull()" and (2) lousy Vi users
svn path=/trunk/kdemultimedia/juk/; revision=217730
parent
15db09bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
id3tag.cpp
View file @
dcc44244
...
...
@@ -96,7 +96,7 @@ ID3Tag::ID3Tag(const QString &file) : Tag(file), m_fileName(file), m_changed(fal
// parse the genre string for (<ID3v1 number>)
if
(
m_tagGenre
==
"("
+
QString
::
number
(
m_tagGenre
.
getID3v1
())
+
")"
||
m_tagGenre
==
QString
::
n
ull
)
if
(
m_tagGenre
==
"("
+
QString
::
number
(
m_tagGenre
.
getID3v1
())
+
")"
||
m_tagGenre
.
isN
ull
()
)
m_tagGenre
=
GenreListList
::
ID3v1List
().
ID3v1Name
(
m_tagGenre
.
getID3v1
());
else
if
(
m_tagGenre
.
find
(
QRegExp
(
"
\\
([0-9]+
\\
)"
))
==
0
)
m_tagGenre
=
m_tagGenre
.
mid
(
m_tagGenre
.
find
(
")"
)
+
1
);
...
...
playlist.cpp
View file @
dcc44244
...
...
@@ -380,7 +380,7 @@ PlaylistItem *Playlist::previousItem(PlaylistItem *current, bool random)
QString
Playlist
::
name
()
const
{
if
(
m_playlistName
==
QString
::
n
ull
)
if
(
m_playlistName
.
isN
ull
()
)
return
m_playlistFileName
.
section
(
QDir
::
separator
(),
-
1
).
section
(
'.'
,
0
,
-
2
);
else
return
m_playlistName
;
...
...
@@ -545,7 +545,7 @@ void Playlist::contentsDropEvent(QDropEvent *e)
void
Playlist
::
contentsDragMoveEvent
(
QDragMoveEvent
*
e
)
{
e
->
accept
(
KURLDrag
::
canDecode
(
e
)
);
e
->
accept
(
KURLDrag
::
canDecode
(
e
)
);
}
void
Playlist
::
showEvent
(
QShowEvent
*
e
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment