979d33ab83
* Curseforge workarounds This should allow people to use Curseforge without having to manually paste a working key into the settings or change the user agent. Signed-off-by: Lenny McLennington <lenny@sneed.church> * chore: update cf api key api url Sascha says the domain name we're using is not gonna be renewed, so I'm switching it to a domain controlled by me instead so that this won't be a problem in the future. Signed-off-by: Lenny McLennington <lenny@sneed.church> * feat: add ability to disable cf api key fetching by setting the cf api key api url to a blank string Signed-off-by: Lenny McLennington <lenny@sneed.church> * don't ask before fetching key * change polymc mention to pollymc Signed-off-by: Lenny McLennington <lenny@sneed.church> Co-authored-by: Lenny McLennington <lenny@sneed.church>
13 lines
460 B
C++
13 lines
460 B
C++
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
namespace GuiUtil
|
|
{
|
|
QString fetchFlameKey(QWidget *parentWidget = nullptr);
|
|
QString uploadPaste(const QString &text, QWidget *parentWidget);
|
|
void setClipboardText(const QString &text);
|
|
QStringList BrowseForFiles(QString context, QString caption, QString filter, QString defaultPath, QWidget *parentWidget);
|
|
QString BrowseForFile(QString context, QString caption, QString filter, QString defaultPath, QWidget *parentWidget);
|
|
}
|