mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: refactor the print options class
-Remove unneeded parameter to member variable -Check if template_options struct is valid Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
605e1e2d93
commit
a70cea95e8
2 changed files with 5 additions and 5 deletions
|
@ -27,7 +27,7 @@ class PrintOptions : public QWidget {
|
|||
|
||||
public:
|
||||
explicit PrintOptions(QWidget *parent, struct print_options *printOpt, struct template_options *templateOpt);
|
||||
void setup(struct print_options *printOpt);
|
||||
void setup();
|
||||
|
||||
private:
|
||||
Ui::PrintOptions ui;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue