kde5: get/setLib works again
Change-Id: Icc007d5c08f88ffdeb6e2d033615dccb140862ea
This commit is contained in:
committed by
Thorsten Behrens
parent
187324751d
commit
a8c16e7c42
@@ -35,6 +35,8 @@ class KDE5Data //: public X11SalData
|
||||
virtual void Init() ;
|
||||
virtual void initNWF() ;
|
||||
virtual void deInitNWF() ;
|
||||
|
||||
KDE5XLib* GetLib() { return pXLib_; }
|
||||
private:
|
||||
KDE5XLib *pXLib_;
|
||||
QApplication* qMyApp;
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
class SalYieldMutex;
|
||||
class SalFrame;
|
||||
class KDE5XLib;
|
||||
|
||||
class KDE5SalInstance : public SvpSalInstance
|
||||
{
|
||||
@@ -41,6 +42,10 @@ public:
|
||||
css::uno::XComponentContext >& ) override;
|
||||
|
||||
virtual bool IsMainThread() const override;
|
||||
void SetLib( KDE5XLib *pXLib ) { m_pXLib = pXLib; }
|
||||
|
||||
private:
|
||||
KDE5XLib *m_pXLib;
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -79,7 +79,7 @@ extern "C" {
|
||||
KDE5Data *salData = new KDE5Data( pInstance );
|
||||
salData->Init();
|
||||
salData->initNWF();
|
||||
//pInstance->SetLib(salData->GetLib());
|
||||
pInstance->SetLib(salData->GetLib());
|
||||
|
||||
return pInstance;
|
||||
}
|
||||
|
Reference in New Issue
Block a user