summaryrefslogtreecommitdiffstats
path: root/gui/widgets/Common.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-29 01:20:19 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-29 01:20:19 +0100
commitb4b6091372310f4a811180cffde3ea5611881e6c (patch)
treea836e6376942c9dbabb27d21860ff31c613693b2 /gui/widgets/Common.h
parentffbc5bb62c0cd771b26cb1d9b5afdccef77075b4 (diff)
downloadMultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.tar
MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.tar.gz
MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.tar.lz
MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.tar.xz
MultiMC-b4b6091372310f4a811180cffde3ea5611881e6c.zip
Add 'empty text' to all the version selection dialogs.
Customize it for the Forge one so people finally shut up about 1.7.4
Diffstat (limited to 'gui/widgets/Common.h')
-rw-r--r--gui/widgets/Common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/widgets/Common.h b/gui/widgets/Common.h
new file mode 100644
index 00000000..fc46e08f
--- /dev/null
+++ b/gui/widgets/Common.h
@@ -0,0 +1,6 @@
+#pragma once
+#include <QStringList>
+#include <QTextLayout>
+
+QStringList viewItemTextLayout(QTextLayout &textLayout, int lineWidth, qreal &height,
+ qreal &widthUsed); \ No newline at end of file