summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/mainwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/net/opieirc/mainwindow.cpp b/noncore/net/opieirc/mainwindow.cpp
index fe59c3b..bb03a1c 100644
--- a/noncore/net/opieirc/mainwindow.cpp
+++ b/noncore/net/opieirc/mainwindow.cpp
@@ -38,2 +38,3 @@ void MainWindow::loadSettings() {
IRCTab::m_notificationColor = config.readEntry("NotificationColor", "#AA3300");
+ IRCTab::m_maxLines = config.readNumEntry("Lines", 100);
}
@@ -41,3 +42,3 @@ void MainWindow::loadSettings() {
void MainWindow::selected(QWidget *) {
- m_tabWidget->setTabColor(m_tabWidget->currentPageIndex(), &black);
+ m_tabWidget->setTabColor(m_tabWidget->currentPageIndex(), black);
}
@@ -54,3 +55,3 @@ void MainWindow::changeEvent(IRCTab *tab) {
if (tab->id() != m_tabWidget->currentPageIndex())
- m_tabWidget->setTabColor(tab->id(), &blue);
+ m_tabWidget->setTabColor(tab->id(), blue);
}