[PC-BSD Commits] r5710 - pcbsd/trunk/SoftwareManager

svn at pcbsd.org svn at pcbsd.org
Tue Dec 29 11:22:54 PST 2009


Author: kris
Date: 2009-12-29 11:22:54 -0800 (Tue, 29 Dec 2009)
New Revision: 5710

Modified:
   pcbsd/trunk/SoftwareManager/softmanager-webview.cpp
Log:

Opps, fixed logic error in software manager when looking for auth tag



Modified: pcbsd/trunk/SoftwareManager/softmanager-webview.cpp
===================================================================
--- pcbsd/trunk/SoftwareManager/softmanager-webview.cpp	2009-12-29 18:15:25 UTC (rev 5709)
+++ pcbsd/trunk/SoftwareManager/softmanager-webview.cpp	2009-12-29 19:22:54 UTC (rev 5710)
@@ -181,7 +181,7 @@
 {
    // Check if we have a SM tag, and if not re-auth
    QString rawHTML = webPBIView->page()->mainFrame()->toHtml();
-   if ( rawHTML.indexOf("<!--SM-->") != -1 )
+   if ( rawHTML.indexOf("<!-- SM -->") == -1 )
      startPBIDirLoad(); // Need to re-auth and get a SID
 
    return;



More information about the Commits mailing list