[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 130000] kpdf watch file option does not work with PS files
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2006-07-01 10:40:17
Message-ID: 20060701104017.19948.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=130000
tsdgeos terra es changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From tsdgeos terra es 2006-07-01 12:40 -------
SVN commit 556704 by aacid:
Make the watch function work too when opening ps files through ps2pdf
BUGS: 130000
Ei, that's a nice bug number :-D
M +5 -0 part.cpp
--- branches/KDE/3.5/kdegraphics/kpdf/part.cpp #556703:556704
@ -586,8 +586,13 @
void Part::psTransformEnded()
{
+ QString aux = m_file;
m_file = m_temporaryLocalFile;
openFile();
+ m_file = aux; // so watching works, we have to watch the ps file not the autogenerated pdf
+ m_watcher->removeFile(m_temporaryLocalFile);
+ if ( !m_watcher->contains(m_file) )
+ m_watcher->addFile(m_file);
}
void Part::cannotQuit()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic