Added setting to override the Qt style.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2946 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
f06dc5c814
commit
371c05f82e
|
@ -2518,6 +2518,9 @@ void QtClient::cleanup()
|
|||
|
||||
void QtClient::run()
|
||||
{
|
||||
const char* style = Engine::config().getValue("client","style");
|
||||
if (style && !QApplication::setStyle(QString::fromUtf8(style)))
|
||||
Debug(ClientDriver::self(),DebugWarn,"Could not set Qt style '%s'",style);
|
||||
int argc = 0;
|
||||
char* argv = 0;
|
||||
m_app = new QApplication(argc,&argv);
|
||||
|
|
|
@ -3,3 +3,9 @@
|
|||
|
||||
[localsym]
|
||||
h323chan.yate=yes
|
||||
|
||||
[client]
|
||||
;skin=default
|
||||
;style=
|
||||
;device=
|
||||
;greeting=Yate ${version} - ${release}
|
||||
|
|
Loading…
Reference in New Issue