Remove unnecessary overloaded function

This commit is contained in:
Martin Kleusberg
2014-06-08 12:48:53 +02:00
parent a9310b499b
commit daf12d413c
2 changed files with 1 additions and 7 deletions

View File

@@ -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());

View File

@@ -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);