Accept a const QWidget* in RichResource functions

This commit is contained in:
baldurk
2017-11-21 16:56:32 +00:00
parent bb5ae999f5
commit 17c2eb37ef
4 changed files with 11 additions and 9 deletions
+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;