comparison base/RecentFiles.cpp @ 185:d5052b5fea9c

* Tidy up plugin parameter dialog by switching it to a simple constructor with separate methods for passing in the additional options if necessary * Fix sizing problem on advanced pane toggle in plugin parameter dialog * Make a start on passing in list of candidate input models for transform
author Chris Cannam
date Wed, 11 Oct 2006 16:18:51 +0000
parents 702fc936e6a6
children 6576a208e8e7
comparison
equal deleted inserted replaced
184:5a916fee6d2d 185:d5052b5fea9c
103 newnames.push_back(name); 103 newnames.push_back(name);
104 for (size_t i = 0; i < m_names.size(); ++i) { 104 for (size_t i = 0; i < m_names.size(); ++i) {
105 if (m_names[i] == name) continue; 105 if (m_names[i] == name) continue;
106 newnames.push_back(m_names[i]); 106 newnames.push_back(m_names[i]);
107 } 107 }
108 m_names = newnames;
108 } 109 }
109 110
110 truncateAndWrite(); 111 truncateAndWrite();
111 emit recentChanged(); 112 emit recentChanged();
112 } 113 }