mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 17:01:22 +00:00
utf8() returns a QCString.
svn path=/trunk/kdebase/libkonq/; revision=47480
This commit is contained in:
parent
0cd878efb8
commit
1d2d9165b7
|
@ -350,7 +350,7 @@ KBookmark::KBookmark( KBookmarkManager *_bm, KBookmark *_parent, QString _text,
|
|||
}
|
||||
|
||||
fprintf( f, "[Desktop Entry]\n" );
|
||||
fprintf( f, "URL=%s\n", m_url.utf8() );
|
||||
fprintf( f, "URL=%s\n", m_url.utf8().data() );
|
||||
fprintf( f, "Icon=%s\n", icon.latin1() );
|
||||
fprintf( f, "Type=Link\n" );
|
||||
fclose( f );
|
||||
|
@ -433,7 +433,7 @@ QString KBookmark::pixmapFile( )
|
|||
QString url = m_file;
|
||||
KURL::encode( url );
|
||||
// Get the full path to the Small icon and store it into m_sPixmap
|
||||
KMimeType::pixmapForURL( KURL( url ), buff.st_mode, KIcon::Small,
|
||||
KMimeType::pixmapForURL( KURL( url ), buff.st_mode, KIcon::Small,
|
||||
0, KIcon::DefaultState, &m_sPixmap );
|
||||
}
|
||||
return m_sPixmap;
|
||||
|
|
Loading…
Reference in a new issue