Revision: 40797
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40797&view=rev
Author:   davidloman
Date:     2010-09-29 12:45:10 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
Make AccountManager keep a list of all Accounts

Modified Paths:
--------------
    rt^3/trunk/src/GS/AccountManager.cxx

Modified: rt^3/trunk/src/GS/AccountManager.cxx
===================================================================
--- rt^3/trunk/src/GS/AccountManager.cxx        2010-09-29 12:38:37 UTC (rev 
40796)
+++ rt^3/trunk/src/GS/AccountManager.cxx        2010-09-29 12:45:10 UTC (rev 
40797)
@@ -68,11 +68,11 @@
                return NULL;
        }
 
-       QMutexLocker locker(&this->accountListLock);
        Account* acc = new Account(uname,p);
 
-
        //TODO cache account here.
+       QMutexLocker locker(&this->accountListLock);
+       this->accounts->append(acc);
 
        return acc;
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to