https://bugs.kde.org/show_bug.cgi?id=417107
Toni Asensi Esteve <toni.ase...@kdemail.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Latest Commit| |https://commits.kde.org/kru | |sader/2f168d23c20d69f00d733 | |ca970a49096b1ab0782 Status|CONFIRMED |RESOLVED --- Comment #5 from Toni Asensi Esteve <toni.ase...@kdemail.net> --- Git commit 2f168d23c20d69f00d733ca970a49096b1ab0782 by Toni Asensi Esteve. Committed on 15/04/2020 at 22:38. Pushed by asensi into branch 'master'. Archives: Solve the 'QCoreApplication::applicationDirPath: Please instantiate the QApplication object first' error 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. Test plan: The one described in the task [Solve some bugs related to archives, remove some duplicated code](https://phabricator.kde.org/T12876). FIXED: [ 417107 ] QCoreApplication::applicationDirPath: Please instantiate the QApplication object first Differential Revision: https://phabricator.kde.org/D28413 M +1 -1 krArc/krarcbasemanager.cpp M +1 -3 krusader/Archive/abstractthreadedjob.cpp M +72 -0 krusader/Archive/krarchandler.cpp M +14 -0 krusader/Archive/krarchandler.h M +0 -2 krusader/Archive/packjob.cpp M +2 -1 krusader/Konfigurator/kgprotocols.cpp M +1 -1 krusader/Panel/panelfunc.cpp M +2 -3 krusader/Search/krsearchmod.cpp M +1 -0 krusader/krglobal.cpp M +3 -0 krusader/krglobal.h M +5 -82 krusader/krservices.cpp M +0 -6 krusader/krservices.h M +4 -0 krusader/krusader.cpp M +0 -3 krusader/main.cpp https://commits.kde.org/krusader/2f168d23c20d69f00d733ca970a49096b1ab0782 -- You are receiving this mail because: You are watching all bug changes.