src/mainWindow.cc

changeset 848
68410477c8bb
parent 847
274a7fac44fc
child 850
a3d72b0e916d
equal deleted inserted replaced
847:274a7fac44fc 848:68410477c8bb
116 updateGridToolBar(); 116 updateGridToolBar();
117 updateEditModeActions(); 117 updateEditModeActions();
118 updateRecentFilesMenu(); 118 updateRecentFilesMenu();
119 updateColorToolbar(); 119 updateColorToolbar();
120 updateTitle(); 120 updateTitle();
121 loadShortcuts (Config::settingsObject()); 121 loadShortcuts (Config::SettingsObject());
122 setMinimumSize (300, 200); 122 setMinimumSize (300, 200);
123 connect (qApp, SIGNAL (aboutToQuit()), this, SLOT (slot_lastSecondCleanup())); 123 connect (qApp, SIGNAL (aboutToQuit()), this, SLOT (slot_lastSecondCleanup()));
124 } 124 }
125 125
126 // ============================================================================= 126 // =============================================================================
596 return; 596 return;
597 } 597 }
598 598
599 // Save the configuration before leaving so that, for instance, grid choice 599 // Save the configuration before leaving so that, for instance, grid choice
600 // is preserved across instances. 600 // is preserved across instances.
601 Config::save(); 601 Config::Save();
602 602
603 ev->accept(); 603 ev->accept();
604 } 604 }
605 605
606 // ============================================================================= 606 // =============================================================================

mercurial