mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Preferences: Remove the old dialog and use the new one
The new preferences dialog still needs a bit of fine tuning but should already work. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8a3fb854c2
commit
ff57881265
11 changed files with 31 additions and 65 deletions
|
@ -15,7 +15,6 @@
|
|||
#include "version.h"
|
||||
#include "divelistview.h"
|
||||
#include "downloadfromdivecomputer.h"
|
||||
#include "preferences.h"
|
||||
#include "subsurfacewebservices.h"
|
||||
#include "divecomputermanagementdialog.h"
|
||||
#include "about.h"
|
||||
|
@ -278,8 +277,6 @@ MainWindow::MainWindow() : QMainWindow(),
|
|||
|
||||
ui.menubar->show();
|
||||
set_git_update_cb(&updateProgress);
|
||||
PreferencesDialogV2 *d = new PreferencesDialogV2();
|
||||
d->show();
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
@ -1785,6 +1782,7 @@ void MainWindow::editCurrentDive()
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: Remove the dependency to the PreferencesDialog here.
|
||||
#define PREF_PROFILE(QT_PREFS) \
|
||||
QSettings s; \
|
||||
s.beginGroup("TecDetails"); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue