mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24398 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a657380659
commit
8abc77f860
@ -14,7 +14,6 @@
|
||||
|
||||
#include "insets/InsetCode.h"
|
||||
|
||||
#include "support/FileNameList.h"
|
||||
#include "support/strfwd.h"
|
||||
#include "support/types.h"
|
||||
#include "support/SignalSlot.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "support/convert.h"
|
||||
#include "support/filetools.h"
|
||||
#include "support/gettext.h"
|
||||
#include "support/os.h"
|
||||
|
||||
#include <QLineEdit>
|
||||
@ -57,13 +56,13 @@ GuiPrint::GuiPrint(GuiView & lv)
|
||||
connect(allRB, SIGNAL(clicked()), this, SLOT(change_adaptor()));
|
||||
connect(reverseCB, SIGNAL(clicked()), this, SLOT(change_adaptor()));
|
||||
connect(collateCB, SIGNAL(clicked()), this, SLOT(change_adaptor()));
|
||||
connect(fromED, SIGNAL(textChanged(const QString&)),
|
||||
connect(fromED, SIGNAL(textChanged(QString)),
|
||||
this, SLOT(pagerangeChanged()));
|
||||
connect(fromED, SIGNAL(textChanged(const QString&)),
|
||||
connect(fromED, SIGNAL(textChanged(QString)),
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(toED, SIGNAL(textChanged(const QString&)),
|
||||
connect(toED, SIGNAL(textChanged(QString)),
|
||||
this, SLOT(pagerangeChanged()));
|
||||
connect(toED, SIGNAL(textChanged(const QString&)),
|
||||
connect(toED, SIGNAL(textChanged(QString)),
|
||||
this, SLOT(change_adaptor()));
|
||||
connect(fileRB, SIGNAL(clicked()), this, SLOT(change_adaptor()));
|
||||
connect(printerRB, SIGNAL(clicked()), this, SLOT(change_adaptor()));
|
||||
@ -175,10 +174,9 @@ void GuiPrint::applyView()
|
||||
bool GuiPrint::initialiseParams(string const &)
|
||||
{
|
||||
/// get global printer parameters
|
||||
string const name = support::changeExtension(buffer().absFileName(),
|
||||
lyxrc.print_file_extension);
|
||||
params_ = PrinterParams();
|
||||
params_.file_name = name;
|
||||
params_.file_name = changeExtension(buffer().absFileName(),
|
||||
lyxrc.print_file_extension);
|
||||
|
||||
setButtonsValid(true); // so that the user can press Ok
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user