Minor : remove old code

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4660 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810 2016-08-25 01:57:20 +00:00
parent 763b031fa3
commit ed2e2bb290
3 changed files with 3 additions and 18 deletions

View File

@ -31,7 +31,7 @@ class QPrinter;
*/
class DiagramPrintDialog : public QWidget
{
//@TODO Remove definitely the commented lines in this class related to post script
Q_OBJECT
// Constructors, destructor
@ -82,11 +82,9 @@ class DiagramPrintDialog : public QWidget
QHBoxLayout *hlayout0_;
QLabel *printer_icon_;
QLabel *pdf_icon_;
// QLabel *ps_icon_;
QButtonGroup *printtype_choice_;
QRadioButton *printer_choice_;
QRadioButton *pdf_choice_;
// QRadioButton *ps_choice_;
QLineEdit *filepath_field_;
QPushButton *browse_button_;
QDialogButtonBox *buttons_;

View File

@ -69,14 +69,6 @@ ElementsPanelWidget::ElementsPanelWidget(QWidget *parent) : QWidget(parent) {
filter_textfield -> setPlaceholderText(tr("Filtrer"));
//@TODO remove the commented code below
// ajoute une petite marge a la droite du champ pour filtrer lorsque le style CleanLooks est utilise
// if (qobject_cast<QCleanlooksStyle *>(QApplication::style())) {
// int l, t, r, b;
// filter_toolbar -> getContentsMargins(&l, &t, &r, &b);
// filter_toolbar -> setContentsMargins (l, t, r + 4, b);
// }
context_menu = new QMenu(this);
connect(open_directory, SIGNAL(triggered()), this, SLOT(openDirectoryForSelectedItem()));

View File

@ -1349,11 +1349,6 @@ void QETApp::initLanguage() {
void QETApp::initStyle() {
initial_palette_ = palette();
//@TODO remove the code below
// // lorsque le style Plastique est active, on le remplace par une version amelioree
// if (qobject_cast<QPlastiqueStyle *>(style())) {
// setStyle(new QETStyle());
// }
//Apply or not the system style
QSettings settings;
useSystemPalette(settings.value("usesystemcolors", true).toBool());