~ubuntu-branches/ubuntu/intrepid/kdebase/intrepid-backports

« back to all changes in this revision

Viewing changes to apps/konsole/src/Part.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2009-04-27 15:10:49 UTC
  • mfrom: (1.2.7 upstream) (215.1.10 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090427151049-ewwle4l8pxl0mihi
Tags: 4:4.2.2-0ubuntu1~intrepid1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
// Qt
24
24
#include <QtCore/QStringList>
25
 
 
 
25
#include <QDir>
26
26
 
27
27
// KDE
28
28
#include <KAction>
84
84
  ,_manageProfilesAction(0)
85
85
{
86
86
    // make sure the konsole catalog is loaded
87
 
    KGlobal::locale()->insertCatalog("konsole");    
 
87
    KGlobal::locale()->insertCatalog("konsole");
88
88
 
89
89
    TerminalDisplay::HAVE_TRANSPARENCY = transparencyAvailable();
90
90
 
313
313
        KDE_stat( QFile::encodeName( _url.path() ), &buff );
314
314
        QString text = ( S_ISDIR( buff.st_mode ) ? _url.path() : _url.directory() );
315
315
        showShellInDir( text );
 
316
    } else {
 
317
        showShellInDir( QDir::homePath() );
316
318
    }
317
319
 
318
320
    emit completed();