summaryrefslogtreecommitdiffstats
path: root/src/apps
diff options
context:
space:
mode:
Diffstat (limited to 'src/apps')
-rw-r--r--src/apps/ktorrent/ktorrentcore.cpp2
-rw-r--r--src/apps/ktorrent/ktorrentview.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/apps/ktorrent/ktorrentcore.cpp b/src/apps/ktorrent/ktorrentcore.cpp
index 541bbcc..086d754 100644
--- a/src/apps/ktorrent/ktorrentcore.cpp
+++ b/src/apps/ktorrent/ktorrentcore.cpp
@@ -212,7 +212,7 @@ bool KTorrentCore::init(TorrentControl* tc,bool silently)
try
{
- bt::CopyFile(torFile, destination, TRUE);
+ bt::CopyFile(torFile, destination, true);
}
catch(bt::Error& err)
{
diff --git a/src/apps/ktorrent/ktorrentview.cpp b/src/apps/ktorrent/ktorrentview.cpp
index 4d3983b..15e1d83 100644
--- a/src/apps/ktorrent/ktorrentview.cpp
+++ b/src/apps/ktorrent/ktorrentview.cpp
@@ -811,13 +811,13 @@ void KTorrentView::speedLimits()
void KTorrentView::columnHide(int index)
{
view->hideColumn(index);
- view->header()->setResizeEnabled(FALSE, index);
+ view->header()->setResizeEnabled(false, index);
}
void KTorrentView::columnShow(int index)
{
view->setColumnWidth(index, 100);
- view->header()->setResizeEnabled(TRUE, index);
+ view->header()->setResizeEnabled(true, index);
}
bool KTorrentView::columnVisible(int index)