diff options
| author | 2012-12-22 01:53:14 +0000 | |
|---|---|---|
| committer | 2012-12-22 01:53:14 +0000 | |
| commit | a7572583e8a7f0ed963da2238870170bc3bf12ed (patch) | |
| tree | 3e82d3b87f446fedd7a01924d8d4f281bdf5b140 /src/modules/dcc/canvaswidget.cpp | |
| parent | Fixed compilation with qt5rc1 (diff) | |
| download | KVIrc-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/dcc/canvaswidget.cpp')
| -rw-r--r-- | src/modules/dcc/canvaswidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/dcc/canvaswidget.cpp b/src/modules/dcc/canvaswidget.cpp index 1356c5f3c..90431a6b1 100644 --- a/src/modules/dcc/canvaswidget.cpp +++ b/src/modules/dcc/canvaswidget.cpp @@ -1228,8 +1228,8 @@ case QVariant::Bool: { QComboBox * b = new QComboBox(false,table()->viewport()); - b->addAction("FALSE"); - b->addAction("TRUE"); + b->addAction("false"); + b->addAction("true"); b->setCurrentItem(m_property.toBool() ? 1 : 0); return b; } @@ -1335,7 +1335,7 @@ sz = m_property.toString(); break; case QVariant::Bool: - sz = m_property.toBool() ? "TRUE" : "FALSE"; + sz = m_property.toBool() ? "true" : "false"; break; case QVariant::Font: sz.setNum(m_property.toFont().pointSize()); |
