Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync with albertlauncher/plugins #137

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[submodule "python/plugins"]
path = python/plugins
url = https://github.com/albertlauncher/python.git
[submodule "uuid"]
path = uuid
url = https://github.com/Ghoelian/albert-uuid.git
[submodule "convert"]
path = convert
url = https://github.com/Ghoelian/albert-convert.git
1 change: 1 addition & 0 deletions convert
Submodule convert added at 7836ee
8 changes: 4 additions & 4 deletions python/src/pypluginloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,10 @@ QString PyPluginLoader::load_()
// Attach logcat functions
// https://bugreports.qt.io/browse/QTBUG-117153
// https://code.qt.io/cgit/pyside/pyside-setup.git/commit/?h=6.5&id=2823763072ce3a2da0210dbc014c6ad3195fbeff
py::setattr(module_,"debug", py::cpp_function([this](const QString &s){ qCDebug((*logging_category)) << s; }));
py::setattr(module_,"info", py::cpp_function([this](const QString &s){ qCInfo((*logging_category)) << s; }));
py::setattr(module_,"warning", py::cpp_function([this](const QString &s){ qCWarning((*logging_category)) << s; }));
py::setattr(module_,"critical", py::cpp_function([this](const QString &s){ qCCritical((*logging_category)) << s; }));
py::setattr(module_,"debug", py::cpp_function([this](const QString &s){ qCDebug((*logging_category),) << s; }));
py::setattr(module_,"info", py::cpp_function([this](const QString &s){ qCInfo((*logging_category),) << s; }));
py::setattr(module_,"warning", py::cpp_function([this](const QString &s){ qCWarning((*logging_category),) << s; }));
py::setattr(module_,"critical", py::cpp_function([this](const QString &s){ qCCritical((*logging_category),) << s; }));

// Execute module
pyspec.attr("loader").attr("exec_module")(module_);
Expand Down
1 change: 1 addition & 0 deletions uuid
Submodule uuid added at e11bb7