aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/list/ListWindow.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2012-12-22 01:53:14 +0000
committerGravatar Szymon Tomasz Stefanek2012-12-22 01:53:14 +0000
commita7572583e8a7f0ed963da2238870170bc3bf12ed (patch)
tree3e82d3b87f446fedd7a01924d8d4f281bdf5b140 /src/modules/list/ListWindow.cpp
parentFixed compilation with qt5rc1 (diff)
downloadKVIrc-a7572583e8a7f0ed963da2238870170bc3bf12ed.tar.gz
KVIrc-a7572583e8a7f0ed963da2238870170bc3bf12ed.tar.bz2
KVIrc-a7572583e8a7f0ed963da2238870170bc3bf12ed.zip
Compile and run with Qt5.0. Also add a couple of KVS functions for byte order conversion.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6297 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/list/ListWindow.cpp')
-rw-r--r--src/modules/list/ListWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/list/ListWindow.cpp b/src/modules/list/ListWindow.cpp
index 0bbaa3c99..44fdf0689 100644
--- a/src/modules/list/ListWindow.cpp
+++ b/src/modules/list/ListWindow.cpp
@@ -245,8 +245,8 @@ ListWindow::ListWindow(KviConsoleWindow * lpConsole)
columnLabels.append(__tr2qs("Topic"));
m_pTreeWidget->setColumnCount(3);
m_pTreeWidget->setHeaderLabels(columnLabels);
- m_pTreeWidget->setAllColumnsShowFocus(TRUE);
- m_pTreeWidget->setSortingEnabled(TRUE);
+ m_pTreeWidget->setAllColumnsShowFocus(true);
+ m_pTreeWidget->setSortingEnabled(true);
m_pTreeWidget->sortItems(0,Qt::AscendingOrder);
m_pTreeWidget->setUniformRowHeights(true);