mirror of
https://github.com/TASEmulators/fceux.git
synced 2026-10-12 02:09:51 +00:00
Changed Qt GUI TAS editor recent menu to show file name separated by some space and then full path to file. This is so that the file name can still be read when the full path is ridiculusly long.
This commit is contained in:
@@ -7305,7 +7305,16 @@ void TasFindNoteWindow::findNextClicked(void)
|
||||
TasRecentProjectAction::TasRecentProjectAction(QString desc, QWidget *parent)
|
||||
: QAction( desc, parent )
|
||||
{
|
||||
QString txt;
|
||||
QFileInfo fi(desc);
|
||||
|
||||
path = desc.toStdString();
|
||||
|
||||
txt = fi.fileName();
|
||||
txt += QString("\t");
|
||||
txt += desc;
|
||||
|
||||
setText( txt );
|
||||
}
|
||||
//----------------------------------------------------------------------------
|
||||
TasRecentProjectAction::~TasRecentProjectAction(void)
|
||||
|
||||
Reference in New Issue
Block a user