Skip to content

Commit

Permalink
feat: Delete test code
Browse files Browse the repository at this point in the history
  • Loading branch information
XMuli committed Jan 27, 2021
1 parent 50c12ae commit b78af82
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
Binary file removed dde-dock-plugin/images/logo.png
Binary file not shown.
1 change: 0 additions & 1 deletion dde-dock-plugin/images/setting.svg

This file was deleted.

21 changes: 7 additions & 14 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
#include <QApplication>
#include <QLoggingCategory>
#include <QFile>
#include "widgets/WinSetting.h"
#include "lib/MonitorInfo_x11.h"
#include "widgets/WinDockNet.h"
#include "dde-dock-plugin/WinDockNet.h"
#include "dde-dock-plugin/WinDdeDockSetting.h"


//using namespace lfx;
int main(int argc, char *argv[]) {
QApplication a(argc, argv);

// TEST:
WinDdeDockSetting *setting = new WinDdeDockSetting();
setting->readConfigWinDdeDock();
setting->show();

// QFile file("/home/xmuli/.config/lfxNet/config.json");
// file.setPermissions(QFile::ReadOwner | QFile::WriteOwner
// | QFile::ReadGroup | QFile::WriteGroup
// | QFile::ReadOther | QFile::WriteOther);
// // TEST:
// WinDdeDockSetting *setting = new WinDdeDockSetting();
// setting->readConfigWinDdeDock();
// setting->show();

WinDockNet *dockNet = new WinDockNet();
dockNet->show();

return QApplication::exec();
}

0 comments on commit b78af82

Please sign in to comment.