Commit Graph

559 Commits

Author SHA1 Message Date
0c6f78dee2 communicate when ServerPingTask succeeds/fails 2024-11-25 00:10:17 +01:00
9ce5eaaa0c fix job being deleted before tasks are finished 2024-11-24 23:54:19 +01:00
5cfb5a6f0d do not capture things implicitely in lambdas 2024-11-24 16:37:42 +01:00
1fb0fe0171 ping servers when opening Servers page 2024-11-19 20:48:17 +01:00
a79a66c177 remove debug print 2024-11-19 20:43:04 +01:00
60fb922ba2 remove QObject parent argument from ServerPingTask constructor 2024-11-19 20:43:04 +01:00
7d04f0ee75 remove useless code when reading response 2024-11-17 20:06:08 +01:00
7cf24586c2 .hpp -> .h 2024-11-17 19:58:30 +01:00
9d5727e36b MCResolver -> McResolver 2024-11-17 19:51:15 +01:00
b8035ca078 refactor header and code into 2 files 2024-11-17 19:50:52 +01:00
8b7040d416 use Qt5-compatible writeString() impl 2024-11-17 19:37:15 +01:00
c3543b104b fix qDebug() call with string << append 2024-11-17 19:26:21 +01:00
2d06e0a111 Fix after rebase 2024-11-17 19:21:09 +01:00
1f094b9803 avoid translating back to stf string without reason 2024-11-17 19:10:15 +01:00
b35cffb347 fix warning about unused jsonLength 2024-11-17 19:10:15 +01:00
0d830e56e9 replace std::runtime_exception with PrismLauncher Exception + add try/catch 2024-11-17 19:10:15 +01:00
8cf0c2029c No need to close the socket, it is done automatically
https://doc.qt.io/qt-6/qtcpsocket.html#dtor.QTcpSocket
2024-11-17 19:10:15 +01:00
cba7e2dc36 use std::optional<> to signify when there is no value 2024-11-17 19:10:15 +01:00
6a7678a6e9 Actually show online players when clicking on the button 2024-11-17 19:10:15 +01:00
0a379a05ff replace my printf calls with qDebug 2024-11-17 19:10:15 +01:00
fe28a051d5 make MCResolver a dynamic object so it doesnt get deleted before the callback
See https://discord.com/channels/1031648380885147709/1031823065937629267/1307471566166167696
2024-11-17 19:10:15 +01:00
87c9066a2b run the code in tasks 2024-11-17 19:10:15 +01:00
ea2a2349f8 make splitAddress() const 2024-11-17 19:10:15 +01:00
2f70115be5 add debug print 2024-11-17 19:10:15 +01:00
8fa1dff17d remove space 2024-11-17 19:10:15 +01:00
ee35ac5afd add method queryStatus() to servers and use it on click 2024-11-17 19:10:15 +01:00
43a54cafef add my classes 2024-11-17 19:10:15 +01:00
fac521a312 Add dummy UI button 2024-11-17 19:10:15 +01:00
48235f5b71 Merge pull request #3083 from Trial97/fix_resource_search
Fix resource search
2024-11-15 23:09:28 +00:00
736ecf266d Merge pull request #3019 from Trial97/task_parent
fixed double deletion for tasks
2024-11-15 06:19:40 +01:00
172e43cd3f Fix warnings regarding Resource static cast
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-13 23:11:33 +02:00
66883db645 Fix removed signal handler for filter resource
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-09 23:30:04 +02:00
e6d4e5d78d Unify instance and global settings pt.1
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-11-06 23:46:30 +00:00
2b590f24ed remove task parent from constuctor
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-11-01 00:11:45 +02:00
0e80aae1b8 Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into lambda 2024-10-30 19:35:25 +02:00
c142d38f08 Merge pull request #1588 from TheKodeToad/resource-meta
Implement tracking and updates for files other than mods
2024-10-30 17:03:54 +00:00
82bffabb69 do not capture by default all values in lambdas
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-10-30 18:16:43 +02:00
2368521a9a Add missing semicolon
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-10-29 17:54:03 +00:00
d49e6187cd Make requested changes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-10-29 17:17:51 +00:00
2b22a1aebe Reimplement View Homepage
I removed it for some reason, but now it's back for all pages!

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-10-28 20:14:56 +00:00
49044e23de Fix Export List placement
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-10-28 16:21:00 +00:00
f57ca1e79e Add Change Version action to all pages
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-10-28 16:07:41 +00:00
0f42f3cc5c Added warning regarding maximized option
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-10-28 17:19:18 +02:00
7bd04ae928 fix don't hang the ui for a full version load
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-10-23 16:23:10 -07:00
836aebc0d9 fix small leak
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-10-22 13:43:16 +03:00
538815e033 Merge remote-tracking branch 'upstream/develop' into resource-meta
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-10-08 17:16:10 +01:00
3fae659b30 Merge remote-tracking branch 'upstream/develop' into resource-meta
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2024-10-08 17:15:42 +01:00
0eefa52dbc fix some transtaions warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-10-01 08:51:06 +03:00
77463c6d33 display minecraft log before instance run
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-09-18 21:17:15 +03:00
5073fc19d4 fix java autodetect when instance settings are open
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2024-09-14 00:36:31 +03:00