* settingtxtdialog:: add newline after the last entry to keep libogc from choking on it

This commit is contained in:
giantpune 2011-03-13 06:53:43 +00:00
parent 52c6124b8e
commit dd38acc53e
2 changed files with 262 additions and 262 deletions

View File

@ -109,7 +109,7 @@ void SettingTxtDialog::on_buttonBox_accepted()
"CODE=" + ui->lineEdit_code->text() + "\r\n" + "CODE=" + ui->lineEdit_code->text() + "\r\n" +
"SERNO=" + ui->lineEdit_serno->text() + "\r\n" + "SERNO=" + ui->lineEdit_serno->text() + "\r\n" +
"VIDEO=" + ui->lineEdit_video->text() + "\r\n" + "VIDEO=" + ui->lineEdit_video->text() + "\r\n" +
"GAME=" + ui->lineEdit_game->text(); "GAME=" + ui->lineEdit_game->text() + "\r\n";
ret = s.toAscii(); ret = s.toAscii();
ret = PaddedByteArray( ret, 0x100 ); ret = PaddedByteArray( ret, 0x100 );

View File

@ -1,261 +1,261 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>MainWindow</class> <class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow"> <widget class="QMainWindow" name="MainWindow">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>654</width> <width>654</width>
<height>507</height> <height>507</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>NUS NandBuilder</string> <string>Ohneschwanzenegger</string>
</property> </property>
<widget class="QWidget" name="centralWidget"> <widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<property name="margin"> <property name="margin">
<number>2</number> <number>2</number>
</property> </property>
<item row="0" column="0"> <item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QLineEdit" name="lineEdit_tid"> <widget class="QLineEdit" name="lineEdit_tid">
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="maxLength"> <property name="maxLength">
<number>16</number> <number>16</number>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_4_version"> <widget class="QLabel" name="label_4_version">
<property name="text"> <property name="text">
<string>v</string> <string>v</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="lineEdit_version"> <widget class="QLineEdit" name="lineEdit_version">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>107</width> <width>107</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="maxLength"> <property name="maxLength">
<number>5</number> <number>5</number>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton_GetTitle"> <widget class="QPushButton" name="pushButton_GetTitle">
<property name="text"> <property name="text">
<string>Get It!</string> <string>Get It!</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item>
<widget class="QLineEdit" name="lineEdit_cachePath"/> <widget class="QLineEdit" name="lineEdit_cachePath"/>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton_CachePathBrowse"> <widget class="QPushButton" name="pushButton_CachePathBrowse">
<property name="text"> <property name="text">
<string>Local Cache</string> <string>Local Cache</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<item> <item>
<layout class="QFormLayout" name="formLayout"> <layout class="QFormLayout" name="formLayout">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label_progDl"> <widget class="QLabel" name="label_progDl">
<property name="text"> <property name="text">
<string>Download</string> <string>Download</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QProgressBar" name="progressBar_dl"> <widget class="QProgressBar" name="progressBar_dl">
<property name="value"> <property name="value">
<number>0</number> <number>0</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_progTitle"> <widget class="QLabel" name="label_progTitle">
<property name="text"> <property name="text">
<string>Title</string> <string>Title</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1"> <item row="1" column="1">
<widget class="QProgressBar" name="progressBar_title"> <widget class="QProgressBar" name="progressBar_title">
<property name="value"> <property name="value">
<number>0</number> <number>0</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="label_progTotal"> <widget class="QLabel" name="label_progTotal">
<property name="text"> <property name="text">
<string>Total</string> <string>Total</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QProgressBar" name="progressBar_whole"> <widget class="QProgressBar" name="progressBar_whole">
<property name="value"> <property name="value">
<number>0</number> <number>0</number>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>nand.bin</string> <string>nand.bin</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_nandPath"> <widget class="QLineEdit" name="lineEdit_nandPath">
<property name="text"> <property name="text">
<string notr="true"/> <string notr="true"/>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2"> <item row="0" column="2">
<widget class="QPushButton" name="pushButton_nandPath"> <widget class="QPushButton" name="pushButton_nandPath">
<property name="text"> <property name="text">
<string>Search...</string> <string>Search...</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="2"> <item row="1" column="2">
<widget class="QPushButton" name="pushButton_initNand"> <widget class="QPushButton" name="pushButton_initNand">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Init Nand</string> <string>Init Nand</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
</layout> </layout>
</item> </item>
<item row="3" column="0"> <item row="3" column="0">
<widget class="QPlainTextEdit" name="plainTextEdit_log"/> <widget class="QPlainTextEdit" name="plainTextEdit_log"/>
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QMenuBar" name="menuBar"> <widget class="QMenuBar" name="menuBar">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>654</width> <width>654</width>
<height>27</height> <height>20</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuNand_Dump"> <widget class="QMenu" name="menuNand_Dump">
<property name="title"> <property name="title">
<string>Nand Dump</string> <string>Nand Dump</string>
</property> </property>
<addaction name="actionImportWad"/> <addaction name="actionImportWad"/>
<addaction name="actionNew_nand_from_keys"/> <addaction name="actionNew_nand_from_keys"/>
</widget> </widget>
<widget class="QMenu" name="menuHelp"> <widget class="QMenu" name="menuHelp">
<property name="title"> <property name="title">
<string>Help</string> <string>Help</string>
</property> </property>
<addaction name="actionAbout"/> <addaction name="actionAbout"/>
</widget> </widget>
<widget class="QMenu" name="menuContent"> <widget class="QMenu" name="menuContent">
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="title"> <property name="title">
<string>Content</string> <string>Content</string>
</property> </property>
<addaction name="actionFlush"/> <addaction name="actionFlush"/>
<addaction name="actionSetting_txt"/> <addaction name="actionSetting_txt"/>
<addaction name="actionWrite_meta_entries"/> <addaction name="actionWrite_meta_entries"/>
<addaction name="actionFormat"/> <addaction name="actionFormat"/>
</widget> </widget>
<addaction name="menuNand_Dump"/> <addaction name="menuNand_Dump"/>
<addaction name="menuContent"/> <addaction name="menuContent"/>
<addaction name="menuHelp"/> <addaction name="menuHelp"/>
</widget> </widget>
<widget class="QToolBar" name="mainToolBar"> <widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea"> <attribute name="toolBarArea">
<enum>TopToolBarArea</enum> <enum>TopToolBarArea</enum>
</attribute> </attribute>
<attribute name="toolBarBreak"> <attribute name="toolBarBreak">
<bool>false</bool> <bool>false</bool>
</attribute> </attribute>
</widget> </widget>
<widget class="QStatusBar" name="statusBar"/> <widget class="QStatusBar" name="statusBar"/>
<action name="actionSetting_txt"> <action name="actionSetting_txt">
<property name="text"> <property name="text">
<string>Setting.txt...</string> <string>Setting.txt...</string>
</property> </property>
</action> </action>
<action name="actionFlush"> <action name="actionFlush">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Flush</string> <string>Flush</string>
</property> </property>
</action> </action>
<action name="actionImportWad"> <action name="actionImportWad">
<property name="text"> <property name="text">
<string>Import Wads...</string> <string>Import Wads...</string>
</property> </property>
</action> </action>
<action name="actionNew_nand_from_keys"> <action name="actionNew_nand_from_keys">
<property name="text"> <property name="text">
<string>New nand...</string> <string>New nand...</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+N</string> <string>Ctrl+N</string>
</property> </property>
</action> </action>
<action name="actionAbout"> <action name="actionAbout">
<property name="text"> <property name="text">
<string>About</string> <string>About</string>
</property> </property>
</action> </action>
<action name="actionWrite_meta_entries"> <action name="actionWrite_meta_entries">
<property name="text"> <property name="text">
<string>Write meta entries</string> <string>Write meta entries</string>
</property> </property>
</action> </action>
<action name="actionFormat"> <action name="actionFormat">
<property name="text"> <property name="text">
<string>Format</string> <string>Format</string>
</property> </property>
</action> </action>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/> <layoutdefault spacing="6" margin="11"/>
<resources/> <resources/>
<connections/> <connections/>
</ui> </ui>