mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Remove unused code and fix a warning
This commit is contained in:
@@ -362,7 +362,7 @@ void MainWindow::init()
|
||||
// Connect tabCloseRequested for setting checked the appropiate menu entry.
|
||||
// Note these are called after the actual tab is closed only because they are connected
|
||||
// after connecting closeTab.
|
||||
connect(ui->mainTab, &QTabWidget::tabCloseRequested, [=](int index) {
|
||||
connect(ui->mainTab, &QTabWidget::tabCloseRequested, [=](int /*index*/) {
|
||||
action->setChecked(ui->mainTab->indexOf(widget) != -1);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -91,14 +91,6 @@ public:
|
||||
DBBrowserDB& getDb() { return db; }
|
||||
RemoteDatabase& getRemote() { return *m_remoteDb; }
|
||||
|
||||
enum Tabs
|
||||
{
|
||||
StructureTab,
|
||||
BrowseTab,
|
||||
PragmaTab,
|
||||
ExecuteTab
|
||||
};
|
||||
|
||||
private:
|
||||
struct PragmaValues
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user