mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
add Filename to Title (#726)
This commit is contained in:
parent
50e786cbf0
commit
91a5d9a6d6
@ -430,7 +430,7 @@ void MainWindow::setFilename(const QString &fn)
|
||||
{
|
||||
// Add file name to window title
|
||||
this->filename = fn;
|
||||
this->setWindowTitle(APPNAME" - " + fn);
|
||||
this->setWindowTitle(APPNAME" – " + fn);
|
||||
}
|
||||
|
||||
void MainWindow::closeEvent(QCloseEvent *event)
|
||||
|
@ -224,10 +224,13 @@ QList<QString> InitialOptionsDialog::getSelectedAdvancedAnalCmds()
|
||||
void InitialOptionsDialog::setupAndStartAnalysis(/*int level, QList<QString> advanced*/)
|
||||
{
|
||||
main->initUI();
|
||||
|
||||
|
||||
InitialOptions options;
|
||||
|
||||
options.filename = main->getFilename();
|
||||
if (!options.filename.isEmpty()) {
|
||||
main->setWindowTitle("Cutter – " + options.filename);
|
||||
}
|
||||
options.shellcode = this->shellcode;
|
||||
|
||||
// Where the bin header is located in the file (-B)
|
||||
|
Loading…
Reference in New Issue
Block a user