svn path=/trunk/KDE/kdepim/; revision=466056
wilder-work
Laurent Montel 21 years ago
parent b4ce7c9116
commit ee1fdee369
  1. 2
      configuredialog_p.cpp
  2. 6
      kmcomposewin.cpp

@ -362,7 +362,7 @@ void ProfileDialog::slotOk() {
if ( index < 0 )
return; // none selected
assert( (unsigned int)index < mProfileList.count() );
assert( index < mProfileList.count() );
KConfig profile( mProfileList.at(index), true, false );
emit profileSelected( &profile );

@ -622,7 +622,7 @@ void KMComposeWin::readConfig(void)
mTransport->clear();
mTransport->insertStringList( KMTransportInfo::availableTransports() );
while ( transportHistory.count() > (uint)GlobalSettings::self()->maxTransportEntries() )
while ( transportHistory.count() > GlobalSettings::self()->maxTransportEntries() )
transportHistory.remove( transportHistory.last() );
mTransport->insertStringList( transportHistory );
if (mBtnTransport->isChecked() && !currentTransport.isEmpty())
@ -2660,9 +2660,9 @@ void KMComposeWin::slotInsertFile()
// Prevent config file from growing without bound
// Would be nicer to get this constant from KRecentFilesAction
uint mMaxRecentFiles = 30;
while (urls.count() > mMaxRecentFiles)
while ((uint)urls.count() > mMaxRecentFiles)
urls.erase( urls.fromLast() );
while (encodings.count() > mMaxRecentFiles)
while ((uint)encodings.count() > mMaxRecentFiles)
urls.erase( encodings.fromLast() );
// sanity check
if (urls.count() != encodings.count()) {

Loading…
Cancel
Save