mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove the majority of the Gtk related code
- rip all Gtk code from qt-gui.cpp - don't compile Gtk specific files - don't link against Gtk libraries - don't compile modules we don't use at all (yet) - use #if USE_GTK_UI on the remaining files to disable Gtk related parts - disable the non-functional Cochran support while I'm at it Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a6b89b3254
commit
8677721e85
21 changed files with 2684 additions and 2445 deletions
|
@ -116,6 +116,7 @@ void MainWindow::on_actionClose_triggered()
|
|||
ui->InfoWidget->clearEquipment();
|
||||
|
||||
clear_events();
|
||||
#if USE_GTK_UI
|
||||
show_dive_stats(NULL);
|
||||
|
||||
/* redraw the screen */
|
||||
|
@ -124,6 +125,7 @@ void MainWindow::on_actionClose_triggered()
|
|||
|
||||
// WARNING? Port this to Qt.
|
||||
show_dive_info(NULL);
|
||||
#endif /* USE_GTK_UI */
|
||||
}
|
||||
|
||||
void MainWindow::on_actionImport_triggered()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue