OSDN Git Service

ksnapshot: deprecation warning fix
authorIvailo Monev <xakepa10@gmail.com>
Sun, 11 Jul 2021 21:36:02 +0000 (00:36 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 11 Jul 2021 21:36:02 +0000 (00:36 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
ksnapshot/main.cpp

index 9739fa5..4863b40 100644 (file)
@@ -51,8 +51,6 @@ int main(int argc, char **argv)
   KCmdLineArgs::addCmdLineOptions( ksnapshot_options() ); // Add our own options.
   KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
 
-  // This is one of the applications that requires the "native" / X11 graphics backend to work.
-  QApplication::setGraphicsSystem("native");
   KApplication app;
 
   // Create top level window