mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-27 06:15:45 +00:00
Implemented most build settings as constexpr functions and ported most of macro-based conditional compilation to if constexpr(); this significantly improves code quality and the chance of build success on different platforms and build configurations.
More code modernization.
This commit is contained in:
@@ -94,11 +94,11 @@ GscExecutorLogWindow::GscExecutorLogWindow(BaseObjectType* gtkcobj, Glib::RefPtr
|
||||
// Surprisingly, the treeview column text still works.
|
||||
|
||||
// The problem seems to have disappeared (new compiler/runtime?)
|
||||
// #ifdef _WIN32
|
||||
// if constexpr(BuildEnv::is_kernel_family_windows()) {
|
||||
// Gtk::Box* command_hbox = this->lookup_widget<Gtk::Box*>("command_hbox");
|
||||
// if (command_hbox)
|
||||
// command_hbox->hide();
|
||||
// #endif
|
||||
// }
|
||||
|
||||
// ---------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user