mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: rename MainWindow member variables
Instead of the weirdly named "information" and the inconsistent "dive_list" use the logical "mainTab" and the camel-cased "diveList", respectively. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
78e2560296
commit
068b01aef2
10 changed files with 89 additions and 89 deletions
|
@ -255,7 +255,7 @@ void LocationInformationWidget::resetState()
|
|||
{
|
||||
modified = false;
|
||||
resetPallete();
|
||||
MainWindow::instance()->dive_list->setEnabled(true);
|
||||
MainWindow::instance()->diveList->setEnabled(true);
|
||||
MainWindow::instance()->setEnabledToolbar(true);
|
||||
ui.diveSiteMessage->setText(tr("Dive site management"));
|
||||
MapWidget::instance()->endGetDiveCoordinates();
|
||||
|
@ -267,7 +267,7 @@ void LocationInformationWidget::resetState()
|
|||
|
||||
void LocationInformationWidget::enableEdition()
|
||||
{
|
||||
MainWindow::instance()->dive_list->setEnabled(false);
|
||||
MainWindow::instance()->diveList->setEnabled(false);
|
||||
MainWindow::instance()->setEnabledToolbar(false);
|
||||
ui.diveSiteMessage->setText(tr("You are editing a dive site"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue