summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 7ffeca7..89f3516 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -297,6 +297,7 @@ void MainWindow::slotSaveScript() {
297 QStringList script; 297 QStringList script;
298 script << "text/plain"; 298 script << "text/plain";
299 script << "text/all"; 299 script << "text/all";
300 script << "application/octet-stream";
300 types.insert("Script", script); 301 types.insert("Script", script);
301 QString filename = OFileDialog::getSaveFileName(2, "/", QString::null, types); 302 QString filename = OFileDialog::getSaveFileName(2, "/", QString::null, types);
302 if (!filename.isEmpty()) { 303 if (!filename.isEmpty()) {
@@ -312,6 +313,7 @@ void MainWindow::slotRunScript() {
312 QStringList script; 313 QStringList script;
313 script << "text/plain"; 314 script << "text/plain";
314 script << "text/all"; 315 script << "text/all";
316 script << "application/octet-stream";
315 types.insert("Script", script); 317 types.insert("Script", script);
316 QString filename = OFileDialog::getOpenFileName(2, "/", QString::null, types); 318 QString filename = OFileDialog::getOpenFileName(2, "/", QString::null, types);
317 if (!filename.isEmpty()) { 319 if (!filename.isEmpty()) {