mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Use the THEME_CLASS macro in config file class.
This commit is contained in:
parent
29f3a002c4
commit
090bdcab68
@ -12,6 +12,8 @@
|
||||
* for more details.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "mirall/mirallconfigfile.h"
|
||||
#include "mirall/owncloudtheme.h"
|
||||
#include "mirall/miralltheme.h"
|
||||
@ -79,11 +81,8 @@ QString MirallConfigFile::excludeFile() const
|
||||
|
||||
QString MirallConfigFile::configFile() const
|
||||
{
|
||||
#ifdef OWNCLOUD_CLIENT
|
||||
ownCloudTheme theme;
|
||||
#else
|
||||
mirallTheme theme;
|
||||
#endif
|
||||
THEME_CLASS theme;
|
||||
|
||||
if( qApp->applicationName().isEmpty() ) {
|
||||
qApp->setApplicationName( theme.appName() );
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user