Skip to content

Commit

Permalink
changed toLatin1() to toLocal8Bit()
Browse files Browse the repository at this point in the history
  • Loading branch information
shalomRachapudi committed May 24, 2016
1 parent ae360ab commit c2dce09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firstscreen.cpp
Expand Up @@ -28,7 +28,7 @@ FirstScreen::FirstScreen( PackageBackend *backend, QString *tmpFileName, const Q
QVBoxLayout *mainLayout = new QVBoxLayout;
mainLayout->setSpacing( 0 );

QFile dataFile( m_tmpFileName->toLatin1() );
QFile dataFile( m_tmpFileName->toLocal8Bit() );
if( !dataFile.open( QIODevice::Truncate | QIODevice::WriteOnly ) ) {
qDebug() << "Could not open Data File";
}
Expand Down

0 comments on commit c2dce09

Please sign in to comment.