1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0031873: Samples, Qt OCCT Overview sample - Problems of compilation and launch in 32 bit mode on Windows

This commit is contained in:
asuraven 2020-10-26 16:35:51 +03:00 committed by bugmaster
parent ec4128df29
commit 07bc68e8d8
3 changed files with 5 additions and 3 deletions

View File

@ -71,7 +71,7 @@ enum ApplicationType
//! Main application window
class COMMONSAMPLE_EXPORT ApplicationCommonWindow: public QMainWindow
class ApplicationCommonWindow: public QMainWindow
{
Q_OBJECT

View File

@ -35,7 +35,7 @@
class ApplicationCommonWindow;
//! Implements visualization of samples content
class COMMONSAMPLE_EXPORT DocumentCommon : public QObject
class DocumentCommon : public QObject
{
Q_OBJECT
public:

View File

@ -438,7 +438,9 @@ void View::initViewActions()
aHlrActionGroup->addAction(aHlrOnAction);
myViewActions[ViewAction_HlrOn] = aHlrOnAction;
myViewActions[ViewAction_Transparency] = RegisterAction(":/icons/tool_transparency.png", tr("Transparency"));
QAction* aTransparencyAction = RegisterAction(":/icons/tool_transparency.png", tr("Transparency"));
connect(aTransparencyAction, SIGNAL(triggered()), this, SLOT(onTransparency()));
myViewActions[ViewAction_Transparency] = aTransparencyAction;
}
}