[qet] [4660] Minor : remove old code

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4660
Author:   scorpio810
Date:     2016-08-25 03:57:20 +0200 (Thu, 25 Aug 2016)
Log Message:
-----------
Minor : remove old code

Modified Paths:
--------------
    trunk/sources/diagramprintdialog.h
    trunk/sources/elementspanelwidget.cpp
    trunk/sources/qetapp.cpp

Modified: trunk/sources/diagramprintdialog.h
===================================================================
--- trunk/sources/diagramprintdialog.h	2016-08-25 01:51:11 UTC (rev 4659)
+++ trunk/sources/diagramprintdialog.h	2016-08-25 01:57:20 UTC (rev 4660)
@@ -31,8 +31,8 @@
 */
 class DiagramPrintDialog : public QWidget
 {
-		//@TODO Remove definitely the commented lines in this class related to post script
 
+
 	Q_OBJECT
 	// Constructors, destructor
 	public:
@@ -82,11 +82,9 @@
 	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_;

Modified: trunk/sources/elementspanelwidget.cpp
===================================================================
--- trunk/sources/elementspanelwidget.cpp	2016-08-25 01:51:11 UTC (rev 4659)
+++ trunk/sources/elementspanelwidget.cpp	2016-08-25 01:57:20 UTC (rev 4660)
@@ -68,15 +68,7 @@
 	filter_textfield -> setClearButtonEnabled(true);
 	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()));

Modified: trunk/sources/qetapp.cpp
===================================================================
--- trunk/sources/qetapp.cpp	2016-08-25 01:51:11 UTC (rev 4659)
+++ trunk/sources/qetapp.cpp	2016-08-25 01:57:20 UTC (rev 4660)
@@ -1349,12 +1349,7 @@
 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
+	//Apply or not the system style
 	QSettings settings;
 	useSystemPalette(settings.value("usesystemcolors", true).toBool());
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/