enable markup for internal apps
This commit is contained in:
parent
229b725c55
commit
5ecd0c3cc3
|
@ -35,6 +35,7 @@ using namespace Snore;
|
||||||
TrayIcon::TrayIcon():
|
TrayIcon::TrayIcon():
|
||||||
m_trayIcon(new QSystemTrayIcon(QIcon(":/root/snore.png")))
|
m_trayIcon(new QSystemTrayIcon(QIcon(":/root/snore.png")))
|
||||||
{
|
{
|
||||||
|
SnoreCorePrivate::instance()->defaultApplication().hints().setValue("use-markup", QVariant::fromValue(true));
|
||||||
SnoreCorePrivate::instance()->defaultApplication().hints().setValue("tray-icon", m_trayIcon);
|
SnoreCorePrivate::instance()->defaultApplication().hints().setValue("tray-icon", m_trayIcon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,7 @@ int main(int argc, char *argv[])
|
||||||
app.setApplicationVersion(Snore::Version::version());
|
app.setApplicationVersion(Snore::Version::version());
|
||||||
|
|
||||||
Snore::SnoreCore::instance().loadPlugins(Snore::SnorePlugin::ALL);
|
Snore::SnoreCore::instance().loadPlugins(Snore::SnorePlugin::ALL);
|
||||||
|
Snore::SnoreCorePrivate::instance()->defaultApplication().hints().setValue("use-markup", QVariant::fromValue(true));
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
parser.setApplicationDescription("A settings interface for Snorenotify.");
|
parser.setApplicationDescription("A settings interface for Snorenotify.");
|
||||||
|
|
Loading…
Reference in New Issue