From kde-commits Mon Mar 12 22:57:49 2007 From: Roberto Raggi Date: Mon, 12 Mar 2007 22:57:49 +0000 To: kde-commits Subject: KDE/kdelibs/kparts/tests Message-Id: <1173740269.664103.31989.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=117392063728098 SVN commit 641955 by raggi: compile. M +4 -4 notepad.cpp --- trunk/KDE/kdelibs/kparts/tests/notepad.cpp #641954:641955 @@ -62,8 +62,8 @@ bool NotepadPart::openFile() { - kDebug() << "NotepadPart: opening " << m_file << endl; - QFile f(m_file); + kDebug() << "NotepadPart: opening " << localFilePath() << endl; + QFile f(localFilePath()); QString s; if ( f.open(QIODevice::ReadOnly) ) { QTextStream t( &f ); @@ -73,7 +73,7 @@ } m_edit->setPlainText(s); - emit setStatusBarText( m_url.prettyUrl() ); + emit setStatusBarText( url().prettyUrl() ); return true; } @@ -82,7 +82,7 @@ { if ( !isReadWrite() ) return false; - QFile f(m_file); + QFile f(localFilePath()); QString s; if ( f.open(QIODevice::WriteOnly) ) { QTextStream t( &f );