#include "buffermodel.h"
#include "chatlinemodel.h"
#include "contextmenuactionprovider.h"
+#include "icon.h"
#include "mainwin.h"
#include "qtuimessageprocessor.h"
#include "qtuisettings.h"
setupIconTheme();
- QApplication::setWindowIcon(QIcon::fromTheme("quassel"));
+ QApplication::setWindowIcon(icon::get("quassel"));
setContextMenuActionProvider(new ContextMenuActionProvider(this));
setToolBarActionProvider(new ToolBarActionProvider(this));
static const std::vector<std::pair<QString, QString>> supported {
{ "breeze", tr("Breeze") },
{ "breeze-dark", tr("Breeze Dark") },
+#ifdef WITH_OXYGEN_ICONS
{ "oxygen", tr("Oxygen") }
+#endif
};
std::vector<std::pair<QString, QString>> result;
}
+QString QtUi::systemIconTheme() const
+{
+ return _systemIconTheme;
+}
+
+
void QtUi::setupIconTheme()
{
// Add paths to our own icon sets to the theme search paths