Accept a const QWidget* in RichResource functions

This commit is contained in:
baldurk committed 2017-11-21 16:56:32 +00:00
1 parent bb5ae999f5
commit 17c2eb37ef
4 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -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;