From: Dirk H Bartley Date: Thu, 28 May 2009 12:34:26 +0000 (+0000) Subject: Correct incorrect placement of trap for m_firstpopulated. X-Git-Tag: Release-3.0.2~195 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9d932368f2c523141a50f0d93148c79d74be5db7;p=bacula%2Fbacula Correct incorrect placement of trap for m_firstpopulated. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8871 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/clients/clients.cpp b/bacula/src/qt-console/clients/clients.cpp index 2104d1c0a8..49674a8d28 100644 --- a/bacula/src/qt-console/clients/clients.cpp +++ b/bacula/src/qt-console/clients/clients.cpp @@ -129,7 +129,6 @@ void Clients::populateTable() QStringList fieldlist = resultline.split("\t"); if (m_firstpopulation) { - m_firstpopulation = false; settingsOpenStatus(fieldlist[0]); } @@ -180,6 +179,7 @@ void Clients::populateTable() } } } + m_firstpopulation = false; } /* diff --git a/bacula/src/qt-console/storage/storage.cpp b/bacula/src/qt-console/storage/storage.cpp index d76c8e9e07..04b20ba5fe 100644 --- a/bacula/src/qt-console/storage/storage.cpp +++ b/bacula/src/qt-console/storage/storage.cpp @@ -134,7 +134,6 @@ void Storage::populateTree() fieldlist = resultline.split("\t"); storageName = fieldlist.takeFirst(); if (m_firstpopulation) { - m_firstpopulation = false; settingsOpenStatus(storageName); } TreeItemFormatter storageItem(*m_topItem, 1); @@ -163,6 +162,7 @@ void Storage::populateTree() for(int cnter=0; cnterresizeColumnToContents(cnter); } + m_firstpopulation = false; } /*