From 9d932368f2c523141a50f0d93148c79d74be5db7 Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Thu, 28 May 2009 12:34:26 +0000 Subject: [PATCH] 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 --- bacula/src/qt-console/clients/clients.cpp | 2 +- bacula/src/qt-console/storage/storage.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } /* -- 2.39.5