Archives: Solve the 'QCoreApplication::applicationDirPath: Please instantiate the QApplication object first' error
ClosedPublic

Authored by asensi on Mar 29 2020, 11:47 PM.

Details

Summary

Solve the «QCoreApplication::applicationDirPath: Please instantiate the QApplication object first» error, what required moving code.

Besides, after the code of the generateKrarcArchiveMimetypes() function was moved to a constructor, that code is executed only once and the source code ends up being simplified. Make the KrServices class simpler by moving archive-related code to an archive-related class.

FIXED: [ 417107 ] QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
BUG: 417107

Test Plan

Diff Detail

Repository
R167 Krusader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
asensi requested review of this revision.Mar 29 2020, 11:47 PM
asensi created this revision.
yurchor added a subscriber: yurchor.Apr 7 2020, 1:40 PM

+1. Works for me.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 15 2020, 10:46 PM
This revision was automatically updated to reflect the committed changes.