From 274748181608e340ecb115b0aa134f717ab2807a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 2 Jul 2012 19:57:16 +0300 Subject: [PATCH] Code clean up --- src/qtlibtorrent/qtorrenthandle.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qtlibtorrent/qtorrenthandle.cpp b/src/qtlibtorrent/qtorrenthandle.cpp index 1deb7cd36..bf6961d84 100644 --- a/src/qtlibtorrent/qtorrenthandle.cpp +++ b/src/qtlibtorrent/qtorrenthandle.cpp @@ -557,7 +557,6 @@ QString QTorrentHandle::root_path() const return save_path(); QString first_filepath = filepath_at(0); const int slashIndex = first_filepath.indexOf(QRegExp("[/\\\\]")); - QString root_folder; if (slashIndex >= 0) return QDir(save_path()).absoluteFilePath(first_filepath.left(slashIndex)); return save_path();