Commit 2df5fd5a authored by camilo higuita's avatar camilo higuita

avoid static object errors on plasma mobile

parent 9e02f6a7
......@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
context->setContextProperty("tag", dba->tag);
context->setContextProperty("dba", dba);
qmlRegisterUncreatableMetaObject(PIX::staticMetaObject, "PIX", 1, 0, "KEY", "Error");
// qmlRegisterUncreatableMetaObject(PIX::staticMetaObject, "PIX", 1, 0, "KEY", "Error");
qmlRegisterUncreatableType<BaseList>("BaseList", 1, 0, "BaseList", QStringLiteral("BaseList should not be created in QML"));
......
......@@ -35,7 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
namespace PIX
{
Q_NAMESPACE
//Q_NAMESPACE
enum SearchT
{
......
......@@ -4,7 +4,6 @@ import QtQuick 2.9
import org.kde.kirigami 2.0 as Kirigami
import org.kde.mauikit 1.0 as Maui
import PIX 1.0
import PixModel 1.0
import GalleryList 1.0
import FMList 1.0
......
......@@ -4,7 +4,6 @@ import QtQuick 2.9
import org.kde.kirigami 2.0 as Kirigami
import org.kde.mauikit 1.0 as Maui
import PIX 1.0
import "../Viewer/Viewer.js" as VIEWER
import "../Pix.js" as PIX
......
......@@ -8,7 +8,6 @@ import "../../../db/Query.js" as Q
import "../.."
import org.kde.mauikit 1.0 as Maui
import PIX 1.0
import PixModel 1.0
import GalleryList 1.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment