removed testing
This commit is contained in:
parent
549060fa90
commit
f87bfba575
11
main.cpp
11
main.cpp
|
@ -15,11 +15,6 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
// testing
|
|
||||||
#include "./alpm/aurpackage.h"
|
|
||||||
#include "./network/userrepository.h"
|
|
||||||
#include <QFile>
|
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace ApplicationUtilities;
|
using namespace ApplicationUtilities;
|
||||||
using namespace RepoIndex;
|
using namespace RepoIndex;
|
||||||
|
@ -64,12 +59,6 @@ int main(int argc, char *argv[])
|
||||||
cerr << shchar << "Restoring cache ..." << endl;
|
cerr << shchar << "Restoring cache ..." << endl;
|
||||||
manager.restoreCache();
|
manager.restoreCache();
|
||||||
|
|
||||||
//QFile file(QStringLiteral("/run/media/devel/dist/arch/dolphin-emu-git/.SRCINFO"));
|
|
||||||
//file.open(QFile::ReadOnly);
|
|
||||||
//manager.userRepository()->addPackagesFromSrcInfo(file.readAll());
|
|
||||||
//PackageVersion version(manager.databaseByName("ownstuff")->packageByName(QStringLiteral("ffmpeg-libfdk_aac"))->version());
|
|
||||||
//auto res = version.compare(PackageVersion(QStringLiteral("1:2.8-1")));
|
|
||||||
|
|
||||||
if(configArgs.serverArg.isPresent()) {
|
if(configArgs.serverArg.isPresent()) {
|
||||||
// setup the server
|
// setup the server
|
||||||
Server server(manager, manager.config());
|
Server server(manager, manager.config());
|
||||||
|
|
Loading…
Reference in New Issue