зеркало из https://github.com/mozilla/pjs.git
Added constructor needed for integration with Xlib gfx toolkit. Reviewed by
ramiro@netscape.com.
This commit is contained in:
Родитель
9d5df7b930
Коммит
0427b85334
|
@ -25,8 +25,16 @@ nsQApplication::nsQApplication(int argc, char ** argv)
|
|||
mEventQueue = nsnull;
|
||||
}
|
||||
|
||||
nsQApplication::nsQApplication(Display * display)
|
||||
: QApplication(display)
|
||||
{
|
||||
mEventQueue = nsnull;
|
||||
setGlobalMouseTracking(true);
|
||||
}
|
||||
|
||||
nsQApplication::~nsQApplication()
|
||||
{
|
||||
setGlobalMouseTracking(false);
|
||||
NS_IF_RELEASE(mEventQueue);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ class nsQApplication : public QApplication
|
|||
Q_OBJECT
|
||||
public:
|
||||
nsQApplication(int argc, char ** argv);
|
||||
nsQApplication(Display * display);
|
||||
~nsQApplication();
|
||||
|
||||
public:
|
||||
|
|
Загрузка…
Ссылка в новой задаче