edd650aacd
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>
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);
|
|
}
|