diff --git a/src/clientgui.cpp b/src/clientgui.cpp
index 86fae1ff8241e5ba71467d0e0e5843a56e770c0d..7a85234ab00fcf0edc049daf6c388a0cff49bffa 100644
--- a/src/clientgui.cpp
+++ b/src/clientgui.cpp
@@ -254,7 +254,7 @@ void ClientGui::fillEventsIntoHistogram(const QString& adcchannels)
     _rootcanvas.getCanvas()->Update();
 }
 
-void Fp311Online::ClientGui::clearHistogram(const bool fromServer)
+void ClientGui::clearHistogram(const bool fromServer)
 {
     for (int i = 0; i < ExperimentState::NumberOfAdcChannels - 1; i++)
         _histo->SetBinContent(i, 0);