Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed Jan 28, 2019
1 parent d6f1e3f commit f32dfaf
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 24 deletions.
7 changes: 6 additions & 1 deletion build.pri
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# For additional build parameters
# For additional build parameters
CONFIG(debug, debug|release) {
DESTDIR = ../build/debug
} else {
DESTDIR = ../build/release
}
2 changes: 2 additions & 0 deletions build32.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ rm -f %SOURCE_PATH%\release\%BUILD_NAME%
mkdir %SOURCE_PATH%\release\%BUILD_NAME%
mkdir %SOURCE_PATH%\release\%BUILD_NAME%\plugins
mkdir %SOURCE_PATH%\release\%BUILD_NAME%\plugins\platforms
mkdir %SOURCE_PATH%\release\%BUILD_NAME%\sqldrivers

copy %SOURCE_PATH%\build\release\xntsv32.exe %SOURCE_PATH%\release\%BUILD_NAME%\
copy %SOURCE_PATH%\build\gpm32.dll %SOURCE_PATH%\release\%BUILD_NAME%\
Expand All @@ -31,6 +32,7 @@ copy %QT_PATH32%\bin\Qt5Gui.dll %SOURCE_PATH%\release\%BUILD_NAME%\
copy %QT_PATH32%\bin\Qt5Core.dll %SOURCE_PATH%\release\%BUILD_NAME%\
copy %QT_PATH32%\bin\Qt5Sql.dll %SOURCE_PATH%\release\%BUILD_NAME%\
copy %QT_PATH32%\plugins\platforms\qwindows.dll %SOURCE_PATH%\release\%BUILD_NAME%\plugins\platforms\
copy %QT_PATH32%\plugins\sqldrivers\qsqlite.dll %SOURCE_PATH%\release\%BUILD_NAME%\sqldrivers\

cd %SOURCE_PATH%\release
if exist %BUILD_NAME%_%XNTSV_VERSION%.zip del %BUILD_NAME%_%XNTSV_VERSION%.zip
Expand Down
2 changes: 2 additions & 0 deletions build64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ rm -f %SOURCE_PATH%\release\%BUILD_NAME%
mkdir %SOURCE_PATH%\release\%BUILD_NAME%
mkdir %SOURCE_PATH%\release\%BUILD_NAME%\plugins
mkdir %SOURCE_PATH%\release\%BUILD_NAME%\plugins\platforms
mkdir %SOURCE_PATH%\release\%BUILD_NAME%\sqldrivers

copy %SOURCE_PATH%\build\release\xntsv64.exe %SOURCE_PATH%\release\%BUILD_NAME%\
copy %SOURCE_PATH%\build\gpm64.dll %SOURCE_PATH%\release\%BUILD_NAME%\
Expand All @@ -31,6 +32,7 @@ copy %QT_PATH64%\bin\Qt5Gui.dll %SOURCE_PATH%\release\%BUILD_NAME%\
copy %QT_PATH64%\bin\Qt5Core.dll %SOURCE_PATH%\release\%BUILD_NAME%\
copy %QT_PATH64%\bin\Qt5Sql.dll %SOURCE_PATH%\release\%BUILD_NAME%\
copy %QT_PATH64%\plugins\platforms\qwindows.dll %SOURCE_PATH%\release\%BUILD_NAME%\plugins\platforms\
copy %QT_PATH64%\plugins\sqldrivers\qsqlite.dll %SOURCE_PATH%\release\%BUILD_NAME%\sqldrivers\

cd %SOURCE_PATH%\release
if exist %BUILD_NAME%_%XNTSV_VERSION%.zip del %BUILD_NAME%_%XNTSV_VERSION%.zip
Expand Down
4 changes: 2 additions & 2 deletions gui_source/_version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@
#define XNTSV_VERSION_H

#define XNTSV_APPLICATIONNAME "XNTSV"
#define XNTSV_APPLICATIONVERSION "2.00"
#define XNTSV_APPLICATIONVERSION "2.01"
#define XNTSV_ORGANIZATIONNAME "NTInfo"
#define XNTSV_ORGANIZATIONDOMAIN "ntinfo.biz"

Expand Down
4 changes: 2 additions & 2 deletions gui_source/about.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -27,7 +27,7 @@ About::About(QWidget *parent) :
{
ui->setupUi(this);

ui->labelVersion->setText(QString("XNTSV ver %1").arg(XNTSV_APPLICATIONVERSION));
ui->labelVersion->setText(QString("XNTSV v%1").arg(XNTSV_APPLICATIONVERSION));
}

About::~About()
Expand Down
2 changes: 1 addition & 1 deletion gui_source/about.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion gui_source/dialogmemorymap.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion gui_source/dialogmemorymap.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion gui_source/history.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion gui_source/history.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion gui_source/htmltable.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion gui_source/htmltable.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 6 additions & 4 deletions gui_source/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,15 +24,17 @@

int main(int argc, char *argv[])
{
QCoreApplication::addLibraryPath("plugins");
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

QString sLibraryPath=QString(argv[0]).replace("\\","/");
sLibraryPath=sLibraryPath.section("/",0,-2)+QDir::separator()+"plugins";
QCoreApplication::addLibraryPath(sLibraryPath);

QCoreApplication::setOrganizationName(XNTSV_ORGANIZATIONNAME);
QCoreApplication::setOrganizationDomain(XNTSV_ORGANIZATIONDOMAIN);
QCoreApplication::setApplicationName(XNTSV_APPLICATIONNAME);
QCoreApplication::setApplicationVersion(XNTSV_APPLICATIONVERSION);

QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

QApplication a(argc, argv);

a.setStyle(QStyleFactory::create("Fusion"));
Expand Down
8 changes: 4 additions & 4 deletions gui_source/mainwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -29,11 +29,11 @@ MainWindow::MainWindow(QWidget *parent) :

ui->setupUi(this);

setWindowTitle(QString("XNTSV ver %1").arg(XNTSV_APPLICATIONVERSION));
setWindowTitle(QString("XNTSV v%1").arg(XNTSV_APPLICATIONVERSION));

// ui->textBrowserResult->setStyleSheet("background-color:rgb(150,147,88);");

hPID=0;
hPID=nullptr;
bKernel=false;
//bIsProcess64=false;

Expand Down Expand Up @@ -211,7 +211,7 @@ void MainWindow::getProcesses()

// ui->tableProcesses->clearContents();

baProcesses.resize(100000);
baProcesses.resize(200000);
baProcesses.fill(0);
nDataSize=_GetProcesses(baProcesses.data(),baProcesses.size());

Expand Down
2 changes: 1 addition & 1 deletion gui_source/mainwindow.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion gui_source/prototype.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion gui_source/prototype.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2017-2018 hors<horsicq@gmail.com>
// Copyright (c) 2017-2019 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion release_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.00
2.01

0 comments on commit f32dfaf

Please sign in to comment.