Skip to content
  • Pino Toscano's avatar
    Small rework on the system used to pass parameters of the document: · 37403a03
    Pino Toscano authored
    - on command line, properly read the URL ref ('#foobar' at the end), avoiding a KCmdLineArgs behaviour which encodes it as part of the file name
    - pass what was specified as ref or the page (as specified with -p/--page) to the kpart
    - make the okularpart take out the ref from the URL it opens and then:
      a) if it is a number, assume it is the destination page number
      b) otherwise, use that string as named destination
    
    CCMAIL: okular-devel@kde.org
    
    svn path=/trunk/KDE/kdegraphics/okular/; revision=969227
    37403a03