forked from Public-Mirror/Textractor
refactor
This commit is contained in:
parent
b9a4a94d61
commit
c78747c228
@ -7,8 +7,5 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
QDir::setCurrent(QFileInfo(S(Util::GetModuleFilename().value())).absolutePath());
|
||||
|
||||
QApplication a(argc, argv);
|
||||
MainWindow w;
|
||||
w.show();
|
||||
return a.exec();
|
||||
return QApplication(argc, argv), MainWindow().show(), QApplication::exec();
|
||||
}
|
||||
|
@ -16,7 +16,8 @@ template<typename E, typename M = std::mutex>
|
||||
class ThreadSafe
|
||||
{
|
||||
public:
|
||||
template <typename... Args> ThreadSafe(Args&&... args) : contents(std::forward<Args>(args)...) {}
|
||||
template <typename... Args>
|
||||
ThreadSafe(Args&&... args) : contents(std::forward<Args>(args)...) {}
|
||||
auto operator->()
|
||||
{
|
||||
struct
|
||||
|
Loading…
x
Reference in New Issue
Block a user