Remove redundant quit() method call
This commit is contained in:
parent
87d2db2243
commit
f687b2f325
1 changed files with 1 additions and 2 deletions
|
|
@ -44,12 +44,11 @@ namespace gui_to_app {
|
||||||
void AppWin2Back::on_activate() {
|
void AppWin2Back::on_activate() {
|
||||||
Application::on_activate();
|
Application::on_activate();
|
||||||
|
|
||||||
app_builder = [this] -> Glib::RefPtr<Gtk::Builder> {
|
app_builder = [] -> Glib::RefPtr<Gtk::Builder> {
|
||||||
try {
|
try {
|
||||||
return Gtk::Builder::create_from_file("window_ui.ui");
|
return Gtk::Builder::create_from_file("window_ui.ui");
|
||||||
} catch (const std::exception &e) {
|
} catch (const std::exception &e) {
|
||||||
spdlog::critical("Error occurred while loading Window's UI: {}", e.what());
|
spdlog::critical("Error occurred while loading Window's UI: {}", e.what());
|
||||||
quit();
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}();
|
}();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue