Skip to content

Commit

Permalink
Merge pull request #7502 from JosJuice/functions-signature
Browse files Browse the repository at this point in the history
Improve the "functions signature" string
  • Loading branch information
Helios747 committed Oct 15, 2018
2 parents dace56c + 4a07b9a commit cffca7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Source/Core/DolphinQt/MenuBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ void MenuBar::CreateSignatureFile()
this, tr("Input"), tr("Only export symbols with prefix:\n(Blank for all symbols)"));

const QString file = QFileDialog::getSaveFileName(
this, tr("Save signature file"), QDir::homePath(), tr("Functions signature *.dsy(*.dsy)"));
this, tr("Save signature file"), QDir::homePath(), tr("Function signature file (*.dsy)"));
if (file.isEmpty())
return;

Expand All @@ -1328,7 +1328,7 @@ void MenuBar::AppendSignatureFile()
this, tr("Input"), tr("Only append symbols with prefix:\n(Blank for all symbols)"));

const QString file = QFileDialog::getSaveFileName(
this, tr("Append signature to"), QDir::homePath(), tr("Functions signature *.dsy(*.dsy)"));
this, tr("Append signature to"), QDir::homePath(), tr("Function signature file (*.dsy)"));
if (file.isEmpty())
return;

Expand All @@ -1351,7 +1351,7 @@ void MenuBar::AppendSignatureFile()
void MenuBar::ApplySignatureFile()
{
const QString file = QFileDialog::getOpenFileName(
this, tr("Apply signature file"), QDir::homePath(), tr("Functions signature *.dsy(*.dsy)"));
this, tr("Apply signature file"), QDir::homePath(), tr("Function signature file (*.dsy)"));

if (file.isEmpty())
return;
Expand All @@ -1369,19 +1369,19 @@ void MenuBar::CombineSignatureFiles()
{
const QString priorityFile =
QFileDialog::getOpenFileName(this, tr("Choose priority input file"), QDir::homePath(),
tr("Functions signature *.dsy(*.dsy)"));
tr("Function signature file (*.dsy)"));
if (priorityFile.isEmpty())
return;

const QString secondaryFile =
QFileDialog::getOpenFileName(this, tr("Choose secondary input file"), QDir::homePath(),
tr("Functions signature *.dsy(*.dsy)"));
tr("Function signature file (*.dsy)"));
if (secondaryFile.isEmpty())
return;

const QString saveFile =
QFileDialog::getSaveFileName(this, tr("Save combined output file as"), QDir::homePath(),
tr("Functions signature *.dsy(*.dsy)"));
tr("Function signature file (*.dsy)"));
if (saveFile.isEmpty())
return;

Expand Down

0 comments on commit cffca7c

Please sign in to comment.