hrev53773 adds 1 changeset to branch 'master'
old head: fadca4b173471fcb1ce40848dce4cc2adee4e681
new head: 1bd3bfd038c8d203beca63e5e66a27f547ed1cd1
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=1bd3bfd038c8+%5Efadca4b17347
----------------------------------------------------------------------------
1bd3bfd038c8: DeskCalc: fix build.
Apparently, this code was submitted to Gerrit without checking if it
built.
[ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev53773
Commit: 1bd3bfd038c8d203beca63e5e66a27f547ed1cd1
URL: https://git.haiku-os.org/haiku/commit/?id=1bd3bfd038c8
Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date: Sat Jan 25 18:54:31 2020 UTC
----------------------------------------------------------------------------
2 files changed, 2 insertions(+), 5 deletions(-)
src/apps/deskcalc/CalcView.cpp | 3 ++-
src/apps/deskcalc/CalcWindow.cpp | 4 ----
----------------------------------------------------------------------------
diff --git a/src/apps/deskcalc/CalcView.cpp b/src/apps/deskcalc/CalcView.cpp
index fc54589461..a2d3224018 100644
--- a/src/apps/deskcalc/CalcView.cpp
+++ b/src/apps/deskcalc/CalcView.cpp
@@ -23,6 +23,7 @@
#include <Alert.h>
#include <Application.h>
#include <AppFileInfo.h>
+#include <Beep.h>
#include <Bitmap.h>
#include <Catalog.h>
#include <ControlLook.h>
@@ -807,7 +808,7 @@ CalcView::Copy()
&& (clipper = be_clipboard->Data()) == B_OK) {
BString expression = fExpressionTextView->Text();
if (clipper->AddData("text/plain", B_MIME_TYPE,
- expression.String(), expression.Length() ==
B_OK) {
+ expression.String(), expression.Length()) ==
B_OK) {
clipper->what = B_MIME_DATA;
be_clipboard->Commit();
}
diff --git a/src/apps/deskcalc/CalcWindow.cpp b/src/apps/deskcalc/CalcWindow.cpp
index d8ad35ce08..699ccd8db5 100644
--- a/src/apps/deskcalc/CalcWindow.cpp
+++ b/src/apps/deskcalc/CalcWindow.cpp
@@ -87,10 +87,6 @@ CalcWindow::MessageReceived(BMessage* message)
fCalcView->ToggleAutoNumlock();
break;
- case MSG_OPTIONS_AUDIO_FEEDBACK:
- fCalcView->ToggleAudioFeedback();
- break;
-
case MSG_OPTIONS_ANGLE_MODE_RADIAN:
fCalcView->SetDegreeMode(false);
return;