mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Accept a const QWidget* in RichResource functions
This commit is contained in:
@@ -132,7 +132,7 @@ QString ConfigFilePath(const QString &filename)
|
||||
return QDir::cleanPath(dir.absoluteFilePath(filename));
|
||||
}
|
||||
|
||||
ICaptureContext *getCaptureContext(QWidget *widget)
|
||||
ICaptureContext *getCaptureContext(const QWidget *widget)
|
||||
{
|
||||
void *ctxptr = NULL;
|
||||
|
||||
|
||||
@@ -1794,4 +1794,4 @@ This may return ``None`` if no capture context can be found.
|
||||
:return: The capture context associated with this widget, if one unambiguously exists.
|
||||
:rtype: CaptureContext
|
||||
)");
|
||||
ICaptureContext *getCaptureContext(QWidget *widget);
|
||||
ICaptureContext *getCaptureContext(const QWidget *widget);
|
||||
Reference in New Issue
Block a user