Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix BUG #1058 - "Strange code in PySide/QtUiTools/glue/plugins.h" #95

Closed
wants to merge 1 commit into from

3 participants

@pcacjr
Collaborator

Signed-off-by: Paulo Alcantara pcacjr@gmail.com

@pcacjr pcacjr Fix BUG #1058 - "Strange code in PySide/QtUiTools/glue/plugins.h"
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
3ec6cda
@setanta

+1

@baraujo

+1

@pcacjr
Collaborator

Merged.

@pcacjr pcacjr closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 23, 2011
  1. @pcacjr

    Fix BUG #1058 - "Strange code in PySide/QtUiTools/glue/plugins.h"

    pcacjr authored
    Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 PySide/QtUiTools/glue/plugins.h
View
4 PySide/QtUiTools/glue/plugins.h
@@ -33,13 +33,13 @@ inline void registerCustomWidget(PyObject* obj)
if (plugin == 0) {
foreach(QObject* o, QPluginLoader::staticInstances()) {
plugin = qobject_cast<PyCustomWidgets*>(o);
- if (o)
+ if (plugin)
break;
}
}
if (!plugin)
- qDebug() << "Fail to load uiloader plugin";
+ qDebug() << "Failed to load uiloader plugin.";
else
plugin->registerWidgetType(obj);
}
Something went wrong with that request. Please try again.