~ubuntu-branches/ubuntu/vivid/kdepim/vivid

« back to all changes in this revision

Viewing changes to ktnef/ktnefmain.cpp

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman, Jonathan Riddell, Rohan Garg, Scott Kitterman
  • Date: 2012-11-21 13:12:36 UTC
  • mfrom: (0.2.33)
  • Revision ID: package-import@ubuntu.com-20121121131236-32ijw9a2txrar80k
Tags: 4:4.9.80-0ubuntu1
[ Jonathan Riddell ]
* New upstream beta release

[ Rohan Garg ]
* Add nepomuk-core-dev to build-deps

[ Scott Kitterman ]
* Add new package, libpimcommon4
  - Add libpimcommon4.install
  - Add to debian/control, including kdepim-dbg and kdepim-dev depends
  - Add to kdepim-dev.install
* Remove usr/bin/backupmail and related files from kmail.install as they are
  not provided by upstream anymore
* Add usr/bin/pimsettingexporter and related files to kmail.install
* Add libnepomukwidgets-dev to build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
    KUrl url( "file:" + extractTemp( attach ) );
229
229
    QString mimename( attach->mimeTag() );
230
230
 
231
 
    if ( mimename.isEmpty() || mimename == "application/octet-stream" ) {
 
231
    if ( mimename.isEmpty() || mimename == QLatin1String("application/octet-stream") ) {
232
232
      kDebug() << "No mime type found in attachment object, trying to guess...";
233
233
      mimename = KMimeType::findByUrl( url, 0, true )->name();
234
234
      kDebug() << "Detected mime type: " << mimename;
327
327
 
328
328
void KTNEFMain::viewSelectionChanged()
329
329
{
330
 
  QList<KTNEFAttach *> list = mView->getSelection();
 
330
  const QList<KTNEFAttach *> list = mView->getSelection();
331
331
  bool on1 = ( list.count() == 1 );
332
332
  bool on2 = ( list.count() > 0 );
333
333