1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 04:07:55 +01:00

using foreach macro, works on all unixes, including Mac OS X andon windows vista;

'
This commit is contained in:
Vadim Kurland 2009-01-19 22:40:53 +00:00
parent 713a9bdcb9
commit 2035c2fa27

View File

@ -383,19 +383,13 @@ void FWWindow::startupLoad()
activeProject()->loadState(true);
}
// foreach is QT macro
foreach (QString file, openDocFiles)
{
loadFile(file, auto_load_from_rcs_head_revision);
updateOpenRecentMenu(file);
}
// for (QStringList::iterator it=openDocFiles.begin(); it!=openDocFiles.end();
// it++)
// {
// loadFile(*it, auto_load_from_rcs_head_revision);
// updateOpenRecentMenu(*it);
// }
if (! st->getBool("UI/NoStartTip"))
{
StartTipDialog *stdlg = new StartTipDialog();