mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Remove unnecessary overloaded function
This commit is contained in:
@@ -196,11 +196,6 @@ bool MainWindow::fileOpen(const QString& fileName)
|
||||
return retval;
|
||||
}
|
||||
|
||||
void MainWindow::fileOpen()
|
||||
{
|
||||
fileOpen(QString());
|
||||
}
|
||||
|
||||
void MainWindow::fileNew()
|
||||
{
|
||||
QString fileName = QFileDialog::getSaveFileName(this, tr("Choose a filename to save under"), PreferencesDialog::getSettingsValue("db", "defaultlocation").toString());
|
||||
|
||||
@@ -112,7 +112,7 @@ protected:
|
||||
void resizeEvent(QResizeEvent *event);
|
||||
|
||||
public slots:
|
||||
bool fileOpen(const QString& fileName);
|
||||
bool fileOpen(const QString& fileName = QString());
|
||||
void logSql(const QString &sql, int msgtype);
|
||||
void dbState(bool dirty);
|
||||
void browseRefresh();
|
||||
@@ -120,7 +120,6 @@ public slots:
|
||||
private slots:
|
||||
void createTreeContextMenu(const QPoint & qPoint);
|
||||
void changeTreeSelection();
|
||||
void fileOpen();
|
||||
void fileNew();
|
||||
void populateStructure();
|
||||
void populateTable(const QString& tablename);
|
||||
|
||||
Reference in New Issue
Block a user