src/configDialog.cpp

changeset 538
2f85d4d286e5
parent 529
c294b2070185
child 539
72ad83a67165
--- a/src/configDialog.cpp	Tue Oct 22 22:14:32 2013 +0300
+++ b/src/configDialog.cpp	Thu Dec 05 13:51:52 2013 +0200
@@ -193,7 +193,7 @@
 	*ylabel = new QLabel ("Y"),
 	*zlabel = new QLabel ("Z"),
 	*anglabel = new QLabel ("Angle");
-	short i = 1;
+	int i = 1;
 
 	for (QLabel* label : initlist<QLabel*> ({xlabel, ylabel, zlabel, anglabel}))
 	{	label->setAlignment (Qt::AlignCenter);
@@ -336,7 +336,7 @@
 	reloadAllSubfiles();
 	loadLogoedStuds();
 	g_win->R()->setBackground();
-	g_win->fullRefresh();
+	g_win->doFullRefresh();
 	g_win->updateToolBars();
 	g_win->updateFileList();
 }
@@ -419,10 +419,10 @@
 			return; // don't color separators
 	}
 
-	short defval = entry ? entry->color()->index : -1;
-	short val;
+	int defval = entry ? entry->color()->index : -1;
+	int val;
 
-	if (ColorSelector::getColor (val, defval, this) == false)
+	if (ColorSelector::selectColor (val, defval, this) == false)
 		return;
 
 	if (entry)

mercurial