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:
parent
713a9bdcb9
commit
2035c2fa27
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user