[PC-BSD Commits] r21128 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Thu Jan 24 09:56:37 PST 2013


Author: kenmoore
Date: 2013-01-24 17:56:37 +0000 (Thu, 24 Jan 2013)
New Revision: 21128

Modified:
   pcbsd-projects/PCDM/loginWidget.cpp
Log:
Oops, forgot to initialize the new actions for the QToolButtons



Modified: pcbsd-projects/PCDM/loginWidget.cpp
===================================================================
--- pcbsd-projects/PCDM/loginWidget.cpp	2013-01-24 17:42:54 UTC (rev 21127)
+++ pcbsd-projects/PCDM/loginWidget.cpp	2013-01-24 17:56:37 UTC (rev 21128)
@@ -19,9 +19,11 @@
   listUsers = new QComboBox;
   linePassword = new QLineEdit;
   pushLogin = new QToolButton;
-	//pushLogin->setDefaultAction( new QAction() );
+	QAction* tmp1 = new QAction(this);
+	pushLogin->setDefaultAction( tmp1 );
   pushViewPassword = new QToolButton;
-	//pushViewPassword->setDefaultAction( new QAction() );
+	QAction* tmp2 = new QAction(this);
+	pushViewPassword->setDefaultAction( tmp2 );
   displayIcon = new QLabel;
   //Add the items to the grid
   layout->addWidget(displayIcon,0,0);



More information about the Commits mailing list