--User changes:

Resize options and about dialogs for Linux.

--Bug fixes:
	Null check on file close in ReadFile().
This commit is contained in:
mfeemster 2015-09-12 20:10:47 -07:00
parent 018ba26b5f
commit 2f0227755b
3 changed files with 7 additions and 6 deletions

View File

@ -211,6 +211,7 @@ static bool ReadFile(const char* filename, string& buf, bool nullTerminate = tru
}
fclose(f);
f = nullptr;
}
}
catch (const std::exception& e)

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>596</width>
<height>622</height>
<height>651</height>
</rect>
</property>
<property name="sizePolicy">
@ -82,7 +82,7 @@
<x>5</x>
<y>156</y>
<width>585</width>
<height>458</height>
<height>483</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">

View File

@ -7,11 +7,11 @@
<x>0</x>
<y>0</y>
<width>427</width>
<height>415</height>
<height>487</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -25,7 +25,7 @@
<property name="maximumSize">
<size>
<width>16777215</width>
<height>415</height>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
@ -180,7 +180,7 @@
<property name="minimumSize">
<size>
<width>0</width>
<height>91</height>
<height>87</height>
</size>
</property>
<property name="maximumSize">