[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src
From: Mark Kretschmann <markey () web ! de>
Date: 2006-05-27 16:25:15
Message-ID: 1148747115.495064.5870.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 545482 by markey:
fix scripts crash
M +5 -5 scriptmanager.cpp
--- trunk/extragear/multimedia/amarok/src/scriptmanager.cpp #545481:545482
@@ -795,7 +795,7 @@
// Read and parse .spec file, if exists
QFileInfo info( path );
- QListViewItem* li = 0;
+ KListViewItem* li = 0;
const QString specPath = info.dirPath() + "/" + info.baseName() + ".spec";
if( QFile::exists( specPath ) ) {
KConfig spec( specPath, true, false );
@@ -805,21 +805,21 @@
type = spec.readEntry( "type" );
if( type == "lyrics" ) {
name.prepend( i18n( "Lyrics" ) + ": " );
- li = new QListViewItem( m_lyricsCategory, name );
+ li = new KListViewItem( m_lyricsCategory, name );
}
if( type == "transcode" ) {
name.prepend( i18n( "Transcoding" ) + ": " );
- li = new QListViewItem( m_transcodeCategory, name );
+ li = new KListViewItem( m_transcodeCategory, name );
}
if( type == "score" ) {
name.prepend( i18n( "Score" ) + ": " );
- li = new QListViewItem( m_scoreCategory, name );
+ li = new KListViewItem( m_scoreCategory, name );
}
}
}
if( !li )
- li = new QListViewItem( m_gui->listView, name );
+ li = new KListViewItem( m_gui->listView, name );
li->setPixmap( 0, QPixmap() );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic