Skip to content

Commit

Permalink
#15 - style not working
Browse files Browse the repository at this point in the history
  • Loading branch information
maifeeulasad committed Dec 18, 2020
1 parent 31091dd commit 9779c0e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sources/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ A copy of the License : https://github.com/maifeeulasad/Paint/blob/main/LICENSE
#include <QtCore/QDebug>
#include <QtCore/QFile>
#include <QtCore/QTranslator>
#include <QStyleFactory>

#include "mainwindow.h"
#include "datasingleton.h"
Expand All @@ -57,6 +58,7 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);
a.setApplicationName("Paint");
a.setApplicationVersion("0.1.1");
a.setStyle(QStyleFactory::create("Macintosh"));

QStringList args = a.arguments();

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sources/media/actions-icons/object-flip-vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9779c0e

Please sign in to comment.