From 16424a24708a66f5a66d00c89055c23a8f757e9b Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Sun, 16 Aug 2009 23:58:39 +0000 Subject: [PATCH] Removed unnecessary error messages on first launch : * When you select Cancel, it did display an alert saying it couldn't start the server, and then displays the main window. That error message was unnecessary since the text box (in the main window) already says so. * When you click on Select, it displays the same error message, and then display the file panel. That error message didn't exactly made sense in that context. minor style violation (2 lines spacing between methods) Fixing ticket #4255 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32449 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/poorman/PoorManWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/poorman/PoorManWindow.cpp b/src/apps/poorman/PoorManWindow.cpp index c779821477..7c698c11ae 100644 --- a/src/apps/poorman/PoorManWindow.cpp +++ b/src/apps/poorman/PoorManWindow.cpp @@ -600,7 +600,6 @@ PoorManWindow::DefaultSettings() switch (buttonIndex){ case 0: - serverAlert->Go(); SetWebDir(""); break; case 1: @@ -608,7 +607,6 @@ PoorManWindow::DefaultSettings() setwindow_frame, STR_WIN_NAME_PREF ); - serverAlert->Go(); prefWindow->ShowWebDirFilePanel(); break; case 2: @@ -625,6 +623,7 @@ PoorManWindow::DefaultSettings() } } + status_t PoorManWindow::ReadSettings() {