Diffstat (limited to 'noncore/tools/opie-sh/inputdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/opie-sh/inputdialog.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/tools/opie-sh/inputdialog.cpp b/noncore/tools/opie-sh/inputdialog.cpp index 8046795..1dd8bf7 100644 --- a/noncore/tools/opie-sh/inputdialog.cpp +++ b/noncore/tools/opie-sh/inputdialog.cpp | |||
@@ -42,3 +42,4 @@ InputDialog::InputDialog(int w, int h, int newtype, QString labelString, QString | |||
42 | QFile file(filename); | 42 | QFile file(filename); |
43 | file.open(IO_ReadOnly); | 43 | if (file.open(IO_ReadOnly)) |
44 | { | ||
44 | QTextStream stream(&file); | 45 | QTextStream stream(&file); |
@@ -48,2 +49,3 @@ InputDialog::InputDialog(int w, int h, int newtype, QString labelString, QString | |||
48 | } | 49 | } |
50 | } | ||
49 | else | 51 | else |
@@ -65,3 +67,4 @@ InputDialog::InputDialog(int w, int h, int newtype, QString labelString, QString | |||
65 | QFile file(filename); | 67 | QFile file(filename); |
66 | file.open(IO_ReadOnly); | 68 | if (file.open(IO_ReadOnly)) |
69 | { | ||
67 | QTextStream stream(&file); | 70 | QTextStream stream(&file); |
@@ -71,2 +74,3 @@ InputDialog::InputDialog(int w, int h, int newtype, QString labelString, QString | |||
71 | } | 74 | } |
75 | } | ||
72 | else | 76 | else |