ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/soundWizard/soundwizard.cpp
(Generate patch)

Comparing Vago/trunk/Vago/soundWizard/soundwizard.cpp (file contents):
Revision 789 by s10k, Thu Apr 4 14:46:11 2013 UTC vs.
Revision 793 by s10k, Sat Apr 6 23:30:00 2013 UTC

# Line 21 | Line 21 | int SoundWizard::exec(){
21      this->myWizard->setWindowIcon(QIcon(":/new/icons/sound.png"));
22  
23      //Center and resize QWizard (http://www.thedazzlersinc.com/source/2012/06/04/qt-center-window-in-screen/)
24 + #ifdef Q_WS_WIN
25      this->myWizard->resize(640,480);
26 + #else
27 +    this->myWizard->resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better
28 +    // because the components on mac use more space
29 + #endif
30      QRect position = this->myWizard->frameGeometry();
31      position.moveCenter(QDesktopWidget().availableGeometry().center());
32      this->myWizard->move(position.topLeft());

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)