diff options
-rw-r--r-- | src/gui/ConnectWindow.cpp | 10 | ||||
-rw-r--r-- | src/server/DirectDriver.hpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index e7c6b238..6555ce35 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -80,7 +80,7 @@ ConnectWindow::error(const std::string& msg) present(); set_connecting_widget_states(); } - + if (_progress_label) { _progress_label->set_text(msg); } @@ -223,7 +223,7 @@ ConnectWindow::connect(bool existing) } else if (_mode == Mode::LAUNCH_REMOTE) { const std::string port = std::to_string(_port_spinbutton->get_value_as_int()); const char* cmd[] = { "ingen", "-e", "-E", port.c_str(), NULL }; - + if (!Raul::Process::launch(cmd)) { error("Failed to launch engine process"); return; @@ -348,7 +348,7 @@ ConnectWindow::load_widgets() _port_spinbutton->set_increments(1, 100); _port_spinbutton->set_value( _app->world()->conf().option("engine-port").get<int32_t>()); - + _progress_bar->set_pulse_step(0.01); _widgets_loaded = true; @@ -405,8 +405,8 @@ ConnectWindow::next_stage() "Loading plugins...", "Connected" }; - - + + ++_connect_stage; if (_widgets_loaded) { _progress_label->set_text(labels[_connect_stage]); diff --git a/src/server/DirectDriver.hpp b/src/server/DirectDriver.hpp index 9bbfe14e..51f40f99 100644 --- a/src/server/DirectDriver.hpp +++ b/src/server/DirectDriver.hpp @@ -74,7 +74,7 @@ public: virtual void unregister_port(EnginePort& port) {} virtual SampleCount block_length() const { return _block_length; } - + virtual size_t seq_size() const { return _seq_size; } virtual SampleCount sample_rate() const { return _sample_rate; } |