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

Comparing Vago/trunk/Vago/packageWizard/packagewizard.cpp (file contents):
Revision 771 by s10k, Sun Mar 31 19:02:16 2013 UTC vs.
Revision 998 by s10k, Fri Apr 25 21:05:54 2014 UTC

# Line 14 | Line 14 | int PackageWizard::exec(){
14      myWizard.setWindowIcon(QIcon(":/new/icons/package.png"));
15  
16      //Center and resize QWizard (http://www.thedazzlersinc.com/source/2012/06/04/qt-center-window-in-screen/)
17 + #ifdef Q_OS_WIN
18      myWizard.resize(640,480);
19 + #else
20 +    myWizard.resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better
21 +    // because the components on mac use more space
22 + #endif
23      QRect position = myWizard.frameGeometry();
24      position.moveCenter(QDesktopWidget().availableGeometry().center());
25      myWizard.move(position.topLeft());
# Line 115 | Line 120 | void PackageWizard::createPackage(const
120      QFile *modInfo = new QFile(modDir+"Mod_Info.cfg");
121  
122      if (!modInfo->open(QIODevice::WriteOnly | QIODevice::Text)){ //open to write
123 <        Util::showErrorPopUp("Couldn't' create Mod_Info.cfg file.");
124 <        myLogger->writeString("Couldn't' create Mod_Info.cfg file when creating AE Package.");
123 >        Util::showErrorPopUp("Couldn't create Mod_Info.cfg file.");
124 >        myLogger->writeString("Couldn't create Mod_Info.cfg file when creating AE Package.");
125          return;
126      }
127  

Diff Legend

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