summaryrefslogtreecommitdiffstats
path: root/src/svnqt/testmain.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2025-08-20 19:18:01 +0300
committerFat-Zer <fatzer2@gmail.com>2025-08-21 11:37:57 +0000
commitfb0dff6330956c282fda88bd4b625fcb7cb26142 (patch)
treecb4c3e9742284de2331ca1aa54e542976920f7e2 /src/svnqt/testmain.cpp
parent7c84800c4a5f8ad488d78c05cdd42d22eb31d37c (diff)
downloadtdesvn-master.tar.gz
tdesvn-master.zip
Fix build&run of testsHEADmaster
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'src/svnqt/testmain.cpp')
-rw-r--r--src/svnqt/testmain.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/svnqt/testmain.cpp b/src/svnqt/testmain.cpp
index 0795001..727e557 100644
--- a/src/svnqt/testmain.cpp
+++ b/src/svnqt/testmain.cpp
@@ -20,7 +20,6 @@
#include "client.h"
#include "repository.h"
#include "context.h"
-#include "datetime.h"
#include <tqdatastream.h>
@@ -31,9 +30,7 @@ int main(int,char**)
svn::ContextP myContext = new svn::Context();
TQByteArray tout;
-#if [[[TQT_VERSION IS DEPRECATED]]] < 0x040000
TQDataStream out(tout,IO_WriteOnly);
-#endif
svn::Client*m_Svnclient = svn::Client::getobject(0,0);
svn::ContextP m_CurrentContext = new svn::Context();
m_Svnclient->setContext(m_CurrentContext);
@@ -45,7 +42,6 @@ int main(int,char**)
} catch (svn::ClientException ce) {
gotit = false;
}
-#if [[[TQT_VERSION IS DEPRECATED]]] < 0x040000
if (gotit) {
out << m_OldHistory;
svn::LogEntriesMap m_NewHistory;
@@ -57,6 +53,5 @@ int main(int,char**)
tqDebug("%lu %s %s",it.key(),it.data().author.ascii(),it.data().message.ascii());
}
}
-#endif
- return 1;
+ return 1;
}