/***************************************************************************
- * Copyright (C) 2005-2014 by the Quassel Project *
+ * Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include <QHeaderView>
#include <QHBoxLayout>
+#include <QIcon>
#include <QSpacerItem>
#include "client.h"
#include "clientirclisthelper.h"
-#include "icon.h"
-#include "iconloader.h"
ChannelListDlg::ChannelListDlg(QWidget *parent)
: QDialog(parent),
ui.searchChannelsButton->setAutoDefault(false);
- setWindowIcon(Icon("format-list-unordered"));
+ setWindowIcon(QIcon::fromTheme("format-list-unordered"));
connect(ui.advancedModeLabel, SIGNAL(clicked()), this, SLOT(toggleMode()));
connect(ui.searchChannelsButton, SIGNAL(clicked()), this, SLOT(requestSearch()));