]> git.lyx.org Git - lyx.git/blobdiff - src/Mover.cpp
Apparently, we are not supposed to be using QComboBox::textChanged
[lyx.git] / src / Mover.cpp
index 055c293f1615ba144ded1cad5d5f385622e5c5c2..13ee2c81de5c9e343023eef52250364e76eba1a7 100644 (file)
@@ -27,6 +27,13 @@ namespace lyx {
 
 
 bool Mover::copy(FileName const & from, FileName const & to) const
+{
+       return do_copy(from, to, to.absFileName());
+}
+
+
+bool Mover::do_copy(FileName const & from, FileName const & to,
+                   string const &) const
 {
        return from.copyTo(to);
 }
@@ -35,7 +42,7 @@ bool Mover::copy(FileName const & from, FileName const & to) const
 bool Mover::rename(FileName const & from,
                   FileName const & to) const
 {
-       return do_rename(from, to, to.absFilename());
+       return do_rename(from, to, to.absFileName());
 }
 
 
@@ -50,7 +57,7 @@ bool SpecialisedMover::do_copy(FileName const & from, FileName const & to,
                               string const & latex) const
 {
        if (command_.empty())
-               return Mover::copy(from, to);
+               return Mover::do_copy(from, to, latex);
 
        string command = libScriptSearch(command_);
        command = subst(command, "$$i", quoteName(from.toFilesystemEncoding()));