Re: Runtime error "you need to call Settings::instance before using"

2023-02-26 Thread Martin Schnitkemper
Am Samstag, 25. Februar 2023, 11:41:42 CET schrieb Albert Astals Cid: > Why are you adding PDF only options to the general config file and general > config dialog instead of to the PDF generator config file and PDF generator > config dialog/page? Moved the configuration to the Backend

[okular] [Bug 463732] Print Dialog should remember PDF Options

2023-01-30 Thread Martin Schnitkemper
https://bugs.kde.org/show_bug.cgi?id=463732 Martin Schnitkemper changed: What|Removed |Added CC|martin.schnitkemper@nexgo.d | |e

Runtime error "you need to call Settings::instance before using"

2023-01-19 Thread Martin Schnitkemper
Hello, I tried to extend okular to save PDF-Print-Options (wish #463732). All works well so far, I added a new item in the configuration dialog and the new variable "PageScaleMode" is written to and read from "okularpartrc", but I am not able to assign the value of

[okular] [Bug 463732] Print Dialog should remember PDF Options

2023-01-11 Thread Martin Schnitkemper
https://bugs.kde.org/show_bug.cgi?id=463732 --- Comment #6 from Martin Schnitkemper --- (In reply to Nate Graham from comment #4) > This would work for the scaling option, since it's added by Okular. But it > would not work for any other options that come from the basic dialog itself. >

[okular] [Bug 463732] Print Dialog should remember PDF Options

2023-01-11 Thread Martin Schnitkemper
https://bugs.kde.org/show_bug.cgi?id=463732 --- Comment #3 from Martin Schnitkemper --- Sorry, it seems to be decided in the function "PDFOptionsPage" of "generators/poppler/generator_pdf.cpp": | m_scaleMode = new QComboBox; | m_scaleMode->insertItem(FitToPrintableArea,

[okular] [Bug 463732] Print Dialog should remember PDF Options

2023-01-11 Thread Martin Schnitkemper
https://bugs.kde.org/show_bug.cgi?id=463732 Martin Schnitkemper changed: What|Removed |Added CC||martin.schnitkemper@nexgo.d