Set filename on successful open. Changed filename to fileName.

This commit is contained in:
Jim Evins
2015-09-05 19:47:59 -04:00
parent 69e7184a51
commit a34a3c93fd
3 changed files with 21 additions and 19 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ namespace glabels
{
static int untitledCount = 0;
if ( mFilename.isEmpty() )
if ( mFileName.isEmpty() )
{
if ( mUntitledInstance == 0 )
{
@@ -60,7 +60,7 @@ namespace glabels
}
else
{
QFileInfo fileInfo( mFilename );
QFileInfo fileInfo( mFileName );
return fileInfo.baseName();
}
}