fix: get rid of the assign function call
This commit is contained in:
parent
882c288d92
commit
5b9ba8c027
5 changed files with 11 additions and 11 deletions
|
|
@ -78,7 +78,7 @@ ImportController::ImportController(const QSharedPointer<ServersModel> &serversMo
|
|||
bool ImportController::extractConfigFromFile(const QString &fileName)
|
||||
{
|
||||
QString data;
|
||||
if (!SystemController::readFile(fileName, &data)) {
|
||||
if (!SystemController::readFile(fileName, data)) {
|
||||
emit importErrorOccurred(ErrorCode::ImportOpenConfigError, false);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue