Mercurial > hg > sonic-visualiser
comparison main/main.cpp @ 493:3a85461ab9a7 fullscreen
Make it possible to toggle full-screen through the menu
author | Chris Cannam |
---|---|
date | Fri, 20 Jan 2012 20:21:28 +0000 |
parents | c11a29843fe1 |
children | 451d3c087112 |
comparison
equal
deleted
inserted
replaced
492:ab3bcd06b5c2 | 493:3a85461ab9a7 |
---|---|
350 } | 350 } |
351 } | 351 } |
352 settings.endGroup(); | 352 settings.endGroup(); |
353 | 353 |
354 gui->show(); | 354 gui->show(); |
355 gui->goFullScreen(); | |
356 | 355 |
357 // The MainWindow class seems to have trouble dealing with this if | 356 // The MainWindow class seems to have trouble dealing with this if |
358 // it tries to adapt to this preference before the constructor is | 357 // it tries to adapt to this preference before the constructor is |
359 // complete. As a lazy hack, apply it explicitly from here | 358 // complete. As a lazy hack, apply it explicitly from here |
360 gui->preferenceChanged("Property Box Layout"); | 359 gui->preferenceChanged("Property Box Layout"); |