zz_newPartDialog.cpp

changeset 158
499286fcbf37
parent 157
635da3135bd4
child 160
edcb03f3ef75
--- a/zz_newPartDialog.cpp	Sat May 04 02:52:33 2013 +0300
+++ b/zz_newPartDialog.cpp	Sat May 04 04:19:03 2013 +0300
@@ -39,7 +39,7 @@
 // =============================================================================
 NewPartDialog::NewPartDialog (QWidget* parent, Qt::WindowFlags f) : QDialog (parent, f) {
 	lb_brickIcon = new QLabel;
-	lb_brickIcon->setPixmap (QPixmap ("icons/brick.png"));
+	lb_brickIcon->setPixmap (getIcon ("brick"));
 	
 	lb_name = new QLabel ("Name:");
 	le_name = new QLineEdit;
@@ -76,8 +76,8 @@
 	layout->addWidget (bbx_buttons, 3, 2);
 	
 	setLayout (layout);
-	setWindowIcon (QIcon ("icons/brick.png"));
-	setWindowTitle (APPNAME_DISPLAY " - new part");
+	setWindowIcon (getIcon ("brick"));
+	setWindowTitle (APPNAME_DISPLAY ": New Part");
 }
 
 // =============================================================================

mercurial