Skip to content
Snippets Groups Projects
Commit cc9563a3 authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

rename the function to loadFileOnStartUp

parent 6b2b9e82
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ int main(int argc, char* argv[])
w->setWindowTitle( w->windowTitle() + " - " +
QString::fromStdString(BaseLib::BuildInfo::git_describe));
if (QCoreApplication::arguments().size()>1) {
w->LoadFile(QCoreApplication::arguments().at(1));
w->loadFileOnStartUp(QCoreApplication::arguments().at(1));
}
w->show();
int returncode = a.exec();
......
......@@ -1096,7 +1096,7 @@ void MainWindow::HideWindow()
this->hide();
}
void MainWindow::LoadFile(const QString &fileName)
void MainWindow::loadFileOnStartUp(const QString &fileName)
{
ImportFileType::type t;
QString ext = QFileInfo(fileName).suffix();
......
......@@ -45,7 +45,7 @@ public:
void ShowWindow();
void HideWindow();
void LoadFile(const QString &fileName);
void loadFileOnStartUp(const QString &fileName);
protected:
void closeEvent( QCloseEvent* event );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment