aboutsummaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.cc b/main.cc
index 406a729..cfd8bc2 100644
--- a/main.cc
+++ b/main.cc
@@ -18,6 +18,7 @@
#include "mainwindow.h"
#include <QtWidgets/QApplication>
+#include <QtGui/QPixmapCache>
int main(int argc, char *argv[])
{
@@ -30,6 +31,8 @@ int main(int argc, char *argv[])
app.setApplicationName("scribiu");
app.setApplicationVersion("1.2");
+ QPixmapCache::setCacheLimit(100 * 1024);
+
MainWindow w;
w.show();